Automatic pushbutton dial system for a subscriber telephone

ABSTRACT

An automatic dial system for a subscriber telephone utilizes a keyboard array to enter coded information into an integrated circuit digit processor. The digit processor includes a programmed ROM for storing an instruction set to control the operation of the dial system, an arithmetic/logic unit for performing arithmetic and logic operations on data according to said instruction set, and a first read/write RAM for storing the data being processed. 
     A pulse generator is selectively connected at the output of the digit processor for the selective transmission of pulse signals over the telephone lines according to the stored instruction set and coded information derived from the keyboard.

This invention relates to an automatic dial system for a subscriber telephone set and more particularly to an automatic dial system which utilizes a digit processor for control.

BACKGROUND OF THE INVENTION

It is desirable to provide a pushbutton dial for subscriber telephones which operates in conjunction with standard pulse dial central office equipment to provide such central office subscribers with the advantages of pushbutton dialing. Touch tone type dials require special frequency responsive electronic central office equipment.

One dialer which might be adapted for this purpose is described in U.S. Pat. No. 3,760,121. The problem with the dialer described in such patent, however, is that it requires the entire telephone number to be stored before it can begin transmitting dial signals which slows down the dialing procedure excessively.

It is therefore an object of the present invention to provide a simple and relatively inexpensive and improved automatic pushbutton dial system for a subscriber telephone.

Another object of the invention is to provide a pushbutton dial for a dial pulse telephone system which transmits reduced rate dial pulse signals simultaneously with the keying in of telephone numbers.

A further object of the invention is to provide a replacement telephone dial capable of being mounted in any standard telephone set with minimum alteration of the existing physical structure to provide the telephone set with pushbutton dialing capability.

SUMMARY OF AN EMBODIMENT OF THE INVENTION

In accordance with the present invention, an automatic dial system for subscriber telephones utilizes a keyboard array to enter coded information into an integrated circuit digit processor. The digit processor includes a programmed read-only-memory (ROM) for storing an instruction set to control the operation of the dial system, an arithmetic/logic unit (ALU) for performing arithmetic and logic operations on data according to the stored instruction set, and a random access memory (RAM) for storing the data being processed. The digit processor further includes sets of latchable outputs which generate output signals independently of information being keyed in. A pulse generator is selectively connected at the output of the digit processor for the selective transmission of dial signals over the telephone lines according to the stored instruction set and coded information derived from the keyboard.

In a preferred embodiment, the digit processor is comprised of a calculator type system with the ROM, RAM and ALU integrated on a single chip of semiconductor material with the pulse generator selectively connected at the segment outputs of the calculator system. The segment outputs are independent from the digit outputs and latchable so that the digit outputs may be utilized to scan the keyboard while dual pulse data is being simultaneously generated from the segment outputs.

A second integrated circuit RAM may be selectively coupled to the digit processor to provide for storage and retrieval of changeable groups of selected telephone numbers. In this regard see also copending patent application Ser. No. (TI-5252) which is incorporated herein by reference.

BRIEF DESCRIPTION OF THE DRAWINGS

The novel features believed characteristic of the invention are set forth in the appended claims. The invention itself, however, as well as other features and advantages thereof, will best be understood by reference to the detailed description which follows, read in conjunction with the accompanying drawings, wherein:

FIG. 1A is a pictorial view of a subscriber telephone provided with an automatic dial system according to the present invention;

FIG. 1B is an exploded view showing the mechanical assembly of the automatic dial system as utilized in conjunction with an embodiment of the present invention;

FIG. 1C is an isometric view showing the mounting of the automatic dial assembly of FIG. 1B in a standard subscriber telephone to provide such telephone with automatic dialing capability in accordance with the present invention;

FIG. 2A, shown in two parts, is a circuit diagram of an automatic dial system embodied in the present invention which generates pulse output signals;

FIG. 3 is a detailed block diagram of a digit processor utilized in the preferred embodiment of the present invention;

FIG. 4 is a timing diagram in the form of a graph of voltage versus time for clock voltages used in the digit processor of FIG. 3;

FIG. 5 is a detailed electrical diagram of the RAM 25, RAM page decoder 29 and RAM write control 70 of FIG. 3;

FIG. 6 is a detailed logic diagram of the adder 50, adder input select 51, accumulator 52 and RAM Y register 40 of FIG. 3;

FIG. 7 is a detailed logic diagram of the control PLA 60 of FIG. 3;

FIG. 8 is a detailed logic diagram of the status logic 66 of FIG. 3;

FIG. 8a is a detailed electrical diagram of a complex gate 66-1 of FIG. 8;

FIG. 9 is a detailed logic diagram of the program counter 36 and subroutine register 43 of the digit processor of FIG. 3;

FIG. 10 is a detailed logic diagram of the page address register 46 and the address buffer 47 of FIG. 3;

FIG. 11 is a detailed logic diagram of the address controls 48 and keyboard input 75 of the digit processor of FIG. 3;

FIG. 12 is a detailed logic diagram of the CKB logic 56 of FIG. 3;

FIG. 12a is a detailed electrical diagram of one of the complex gates 56-8 of FIG. 12;

FIG. 13 is a detailed logic diagram of the RAM page address register 73 of FIG. 3;

FIG. 14 is a detailed electrical diagram of the ROM 24 and the ROM page decoder of FIG. 3;

FIG. 15 is a detailed electrical diagram of the ROM/RAM word address decoder 27 and the data select 39 of FIG. 3;

FIG. 16 is a detailed electrical diagram of the output register 84 and output buffers 86 of FIG. 3;

FIG. 17 is a detailed electrical diagram of the output register 62 and the output buffers 65 of FIG. 3;

FIG. 18 is a detailed diagram of the power up clear circuit 82 of FIG. 3;

FIG. 19 is a detailed logic diagram of the feedback circuit for the program counter 36 of FIG. 3;

FIG. 20 is a block diagram of the clock generator 80 of FIG. 3;

FIGS. 21a to 21j are detailed electrical diagrams of logic circuits used in FIGS. 5-20;

FIG. 22 is a representation of the instruction word used in the digit processor of FIG. 3;

FIG. 23 is a Karnaugh map of instruction words typically used in the digit processor of FIG. 3;

FIG. 24 is a timing diagram showing several instruction cycles in the operation of the processor of FIGS. 1-21; and

FIG. 25 is a schematic representation of timing of various events in the processor of FIGS. 1-21.

DETAILED DESCRIPTION OF A PREFERRED EMBODIMENT

An automatic dial system for a subscriber telephone set utilizes a keyboard array to enter coded information into an integrated circuit digit processor. An integrated circuit RAM is selectively connected to the output of the digit processor to provide for the storage and retrieval of changeable groups of selected telephone numbers. A pulse generator is selectively connected at the output of the digit processor for the selective transmission of pulse signals over the telephone lines according to the stored instruction set and coded information derived from the keyboard. The keyboard and circuits are provided as an assembly which may be mounted in any standard subscriber telepohone set such as those manufactured by Western Electric, ITT and the like. The automatic dial system assembly may also be mounted in a special stylized telephone set 500 such as that illustrated in FIG. 1A. The telephone housing of FIG. 1A is the subject matter of copending design patent application Ser. No. 520,683, filed Nov. 4, 1974 and assigned to the assignee of the present invention. The telephone of FIG. 1A includes a handset 504 which activates switch hook 503 to be in a first open circuit position when handset 504 is removed from its cradle as shown. A keyboard array is provided with only keys 502 being visibly exposed in FIG. 1A,

Referring to FIG. 1B, the automatic dial system utilizes the keyboard array to enter coded information into an integrated circuit digit processor 15. The keyboard array is comprised of a support substrate 501 which supports the movable keys 502 as is well known in the art from, for example, U.S. Pat. No. 3,725,907 assigned to the assignee of the present invention. A printed circuit board 506 is provided with normally open contact members 522 to provide ten or more single pole, single throw momentary contact switches. A flexible insulator member 505 sandwiched between the support member 501 and the substrate 506 protects the contact members 522. One contact of each momentary contact switch is individually terminated at 523 with the other terminal of each momentary contact switch terminated in a commoned terminal at 523a on the substrate 506. A schematic diagram of the keyboard array is given in FIG. 2B-2.

The keyboard array is mounted on an upper surface of a metal mounting bracket 507 by rivets 507a or other suitable means. The switch contacts 522 are insulated from bracket 507 by means of the insulating properties of substrate 506 and the terminals 523 extend over the edge of bracket 507 so as to be out of contact therewith. Mounting bracket 507 includes two bent over tab members 508 and 508' with screw members 509 and 509' for mounting in a complementary bracket 525 as will be dicussed further with respect to FIG. 1C.

Digit processor 15, RAMs 517 and 518 for storing the repertoire of telephone numbers, dial signal generator 521, resistive networks 515 and 516 coupling the RAMs 517 and 518 to the digit processor 15, and switch means 514 are mounted in a single plane on substrate 512. Substrate 512 is preferably a printed circuit board having printed interconnects on at least the surface opposite the surface upon which the components are mounted. Printed circuit board 512 is attached to mounting bracket 507 by means of rivet members or the like 511a through spacers 511. The keyboard array is coupled to digit processor 15 by means of insulated wire conductors (not shown) selectively coupling key terminals 523 to printed circuit board terminals 524, which are in turn selectively coupled to digit processor 15 by means of printed wiring (not shown). An insulating member 510 is sandwiched between the metal mounting bracket 507 and the printed circuit board 512 to prevent undesired electrical connection between the printed wiring on the printed circuit board and the metal mounting bracket 507.

The completed dial assembly is shown in FIG. 1C and is approximately in size and shape the same as a standard touch tone dial assembly. The dial is therefore conveniently mounted in any standard telephone having a standard telephone bracket 525 with openings 526 and 526' to accept tabs 508 and 508' with screw members 509 and 509' tightened to hold the assembly in place. A new face plate or cover is required when replacing rotary dials. Two pairs of wires are provided from the dial assembly; a first pair or wires 519 across which a short circuit is provided by the dial as the keys are being actuated to provide a muting effect in the receiver of the handset 504, and a second pair of wires 520 to provide a pulse dial signal to the telephone network 528 which is transmitted on the telephone lines. In this particular embodiment, a DC power supply 527 is provided within the telephone housing to provide a DC voltage to the integrated circuits of the telephone dial. The illustrated power supply 527 includes an external transformer (not shown) which steps down house current connected to a diode bridge circuit and filter. Rechargeable batteries 528 are also provided to maintain the data stored in RAMs 517 and 518 in case of a power failure or the removal of the transformer from its outlet. In this manner, the telephone instrument may be moved from one location to another without the repertoire of telephone numbers stored in RAMs 517 and 518 being erased. The power supply 527 is coupled to the circuits on printed circuit board 512 by means of terminals 513 shown in FIG. 1B.

Referring to FIG. 2A, the automatic dial utilizes the keyboard array 501 to enter coded information into the integrated circuit digit processor 15. Digit processor 15 which includes a programmed ROM for storing an instruction set to control the operation of the dial, an arithmetic/logic unit for performing arithmetic and logic operations on data according to said instruction set, and a first read/write RAM for storing the data being processed will be described in detail with respect to FIGS. 3-25. This single pole, single throw key switches 502 include contacts 522 selectively coupled by means of terminals 524 to the keyboard input terminals K1 and K2 and to digit output terminals D2-D5 and D7. (Terminal D8 may also be utilized for additional function keys such as a speakerphone "on" key, etc.).

Signals sequentially generally at these digit output terminals are selectively transmitted by means of the keyboard array to input terminals K1 and K2 so that the information input through the keyboard array is read into digit processor 15.

Contacts 544 of the switch hook responsive switch 514 and contacts 545 of a record-normal mode switch are coupled between input terminal K1 and digit output terminals D0 and D1, respectively, and their status is read along with the keyboard array.

A second integrated circuit RAM is provided, comprised in this embodiment of two 1K × 1 static random access memory chips such as the bipolar 2102 memory chips manufactured and sold as standard products by Texas Instruments Incorporated.

Other types and quantities RAM chips may be utilized to provide the second RAM depending upon the quantity of telephone numbers desired to be stored in the repertoire by adjusting respective instructions (Table I) stored in the digit processor ROM, accordingly,

Digit processor 15 includes an internal oscillator to provide clock signals for operation of the circuit. However, in a preferred dial pulse embodiment as illustrated in FIG. 2A, an external oscillator is utilized to provide extremely accurate dial pulses on output terminals 520'. The external oscillator is comprised of a 358 KHz cyrstal 550 coupled in parallel with two series connected inverters 548 and 549 with the clock output taken from inverter 546 to the OSC IN terminal of digit processor 15, as shown. Resistors 557-559 and capacitor 551 are included in the oscillator circuit and resistor 543 couples the output of inverter 546 to V_(SS). In this embodiment, power supply 527 provides +5 volts between the V_(DD) ground terminal and V_(CC) terminals 513. The +5 is utilized to directly power the bipolar RAM chips 517 and 518 while a DC-DC converter 551 is utilized to generate +15 volts to the V_(SS) terminal of digit processor 15 to power the MOS circuitry thereof. Capacitors 537 and 537' are utilized as filters. A reset switch 538 mechanically coupled to the switch hook 503 is electrically coupled between V_(SS) and the KC input terminal of digit processor 15. When the switch 538 is open, the KC terminal is grounded through a resistor 540 while, when the switch 538 is closed, KC terminal is coupled to V_(CC) by means of capacitor 541 and resistor 539. The digit output DO terminal of RAM chips 517 and 518 are coupled to the K8 keyboard input terminal of digit processor 15 by means of inverter gate 547 and resistor 542 so that telephone numbers stored in the RAMs are transferred to the digit processor 15 for processing.

Digit processor 15 includes latched digit output terminals DO-D12 and S (segment) output terminals S1-S8. The digit output terminals are independent of the S output terminals and also independent of the keyboard inputs unlike many other calculator type processors. In this particular embodiment, the RAMs 517 and 518 are selectively coupled to the D and S outputs by means of resistive networks 515 and 516 which convert the MOS output voltage level to bipolar input voltage levels for bipolar RAM chips 517 and 518. The D0-D9 output terminals of digit processor 15 are respectively coupled to the address input terminals A0-A9 of RAM chips 517 and 518 for addressing of the RAM to store and retrieve telephone numbers therefrom. The read/write select input of RAM chips 517 and 518 receive a selection signal from the S4 or S8 output terminal of digit processor 15 which are coupled thereto by means of diodes 554 and 555 and to ground by means of resistor 556. Thus, the read/write input is maintained at a logic 0 level by resistor 556 to ground when the outputs S4 and S8 are turned off. RAM chip 517 is enabled at the CE input thereof when the digit output D10 is at a logic 0 by inverter means provided by transistor 552 in combination with resistor 553. When the output at D10 is a logic 1, a chip enable signal is provided to the CE terminal of chip 518. Telephone numbers are transmitted from output S3 of the digit processor 15 to the data input terminals D1 of RAM chips 517 and 518 in order to be stored in the RAM.

As previously discussed, the embodiment of FIG. 2A is utilized to provide dial pulses at output terminal 520'. The dial pulses are transmitted directly from output terminal S6 of digit processor 15 to relay coil 531 to generate pulses at relay contacts 536. A mute output is provided at terminals 519' by means of an output taken directly from output terminal S1 to relay coil 530 which closes contacts 535 to provide a short circuit across the handset speaker while the dial pulses are being transmitted over the lines. Protection diodes 532 and 533 are coupled across relay coils 530 and 531, respectively. It should be noted that a particular feature of this embodiment is that the S6 terminal is latched during selected time periods enabling the keyboard or memory to be read simultaneously by means of the digit outputs D0-D12 and keyboard inputs K1-K8. Thus, the dial in the normal mode acts as a conversion means to convert a rotary dial phone to a pushbutton phone without any special external or central office equipment required for this function.

A block diagram of the digit processor 15 which is particularly suitable for use in conjunction with the automatic dial system of the invention, implemented on a single semiconductor chip, is shown in FIG. 3. Digit processor 15 is centered around a ROM 24 and a RAM 25. The ROM 24 contains 1024 instruction words of eight bits per word, and is used to store the program (Table I) which operates the automatic dial system. RAM 25 contains 256 memory cells software organized as four sixteendigit groups with four bits per digit. Numerical data entered by the keyboard is stored in RAM 25, along with intermediate and final results of calculations, as well as status information or "flags," and other working data. RAM 25 functions as the working registers of digit processor 15, although it is not organized in a hardware sense as separate registers as would be true if shift registers or the like were used for this purpose. RAM 25 is addressed by a word address on lines 26, i.e., one out of sixteen word lines in RAM 25 is selected, by means of a combined ROM and RAM word address decode circuit 27. One of four "pages" of RAM 25 is selected by an address signal on two lines 28 applied to a RAM page address decoder 29 in RAM 25. For a given word address on lines 26 and page address on line 28, four specific bits are accessed and read out on RAM I/O lines 30, via input/output circuit 31, to RAM read lines 32. Alternatively, data is written into RAM 25 via the input/output circuitry 31 and the lines 30. The same sixteen lines 26 used to address RAM 25 are also used to generate the output address and keyboard scan signals on the lines 18 (DO-D12); to this end lines 26 pass through the RAM 25 and are connected to output registers and buffers as will be explained.

ROM 24 produces an eight-bit instruction word on ROM output lines 33 (the bits of the instruction word being labeled R0-R7) during each instruction cycle. The instruction is selected from 8192 bit locations in the ROM, organized into 1024 words containing eight bits each. The words are divided into sixteen groups or pages of sixty-four words each. To address an instruction in the ROM requires a one-of-sixty-four ROM work address on lines 34 and a one-of-sixteen ROM page address on lines 35. The ROM word address on lines 34 is generated in the same decoder 27 as used to generate the RAM word address on lines 26. The ROM word address is a six-bit address produced in a program counter 36 which is a six-stage shift register that may be updated after an instruction cycle or may have a six-bit address loaded into it via lines 37 from ROM output lines 33 for a call or branch operation. The RAM and ROM word address decoder 27 receives a six-bit encoded address on lines 38 from decode data select unit 39 which has two inputs. The unit 39 may receive a fourbit address from RAM Y register 40 via lines 41, or it may receive a sixbit address from the program counter 36 via lines 42. A six-bit subroutine register 43 is associated with the program counter 36 to serve as temporary storage for the return word address during subroutine operations. A six-bit address is stored in the register 43, via lines 44 when a call instruction is initiated so that this same address may be loaded back into the program counter 36 via lines 45 when execution of the subroutine which begins at the call location has been completed; this conserves instruction words and makes programming more flexible. The ROM page address on lines 35 is generated in a page address register 46 which also has a buffer register 47 associated with it for subroutine purposes. The register 46 will always contain the current page address for the ROM, and directly accesses the ROM page decoder. The buffer register 47 is a multi-function buffer and temporary storage register, the contents of which can be the present ROM page address, an alternate ROM page address, or the return page address during subroutine operations. The program counter, subroutine register and ROM page addressing are all controlled by control circuitry 48 which receives inputs from the ROM output lines 33 via lines 49. The control circuitry 48 determines whether branch and call on "status" or subroutine operations are performed, causes loading of an instruction work into the program counter and/or page address register, controls transfer of bits to the subroutine or buffer registers and back, controls updating of the program counter, etc.

Numerical data and other information is operated upon in the system by a binary adder 50 which is a bit-parallel adder having a precharged carry circuit, operating in binary with software BCD correction. The input to the adder 50 is determined by an input selector 51 which receives four-bit parallel inputs from several sources and selects from these what inputs are applied to the adder. First, the memory read or recall lines 32 from the RAM 25 provide one of the alternatives. Two registers receive the adder output, these being the "RAM Y" register 40 and an accumulator 52, and each of these has output lines separately connected as inputs 53 and 54 of the selector 51. A fourth input 55 receives an output from "CKB" logic as will be explained. Thus, the adder input is selected from the following sources: data memory or RAM 25 on lines 32; accumulator 52 via lines 53; RAM Y register 40 via lines 54; constant, keyboard or "bit" information from CKB logic 56 on lines 55. Positive and negative inputs to the adder 50 on lines 57 and 58 are produced from the selector circuitry 51.

The output from the adder 50 is applied to either or both the RAM Y register 40 and the accumulator 52 via lines 59. All of the operations of the adder 50 and its input selector 51, etc. are controlled by a data path control PLA 60 which is responsive to the instruction word on lines 33 from the ROM. Control outputs 61 from the control PLA 60 are indicated by dotted lines. The four-bit output from the accumulator can be applied via lines 53 to an accumulator output buffer 62 and thus to a segment decoder 63 for output from the system. The segment decoder 63 is a programmable logic array and produces up to eight segment outputs on lines 64 which are applied to a set of eight output buffers 65 for addressing of the RAM 401. The output arrangement contains memory in the buffer 62 so that an output can be held for more than one machine cycle. Output is under control of the data control logic PLA 60 which is responsive to the instruction word on lines 33 from the ROM.

A status logic circuit 66 provides the function examining for carry or compare from the adder 50, and determining whether to branch or call. To this end, inputs from the adder 50 via lines 67 and input from the control PLA 60 via lines 61 are provided. The status logic 66 includes a latch which produces an output 69 to the output buffer register 62.

A control circuit 70 determines what and when data is written into or stored in the RAM 25 via input/output control 31 and lines 30. This RAM write control 70 receives inputs from either the accumulator 52 via lines 53 or the CKB logic 56 via lines 55, and this circuit produces an output on lines 71 which go to the RAM I/O circuit 31. Selection of what is written into the RAM is made by the instruction word on lines 33, via the data path control PLA 60 and command lines 61. An important feature of the system is that constants or keyboard information, from CKB logic 56, as well as the adder output via the accumulator, may be written into RAM 25 via the write control 70, and further the CKB logic 56 can be used to control the setting and resetting of bits in RAM 25 via the write control 70.

The RAM page address into which data is written is determined by two bits of the instruction word on lines 33, as applied via lines 72 to a RAM page address register 73 and thus to lines 28 which select the RAM page. The RAM word or Y address is, of course, selected by the contents of RAM Y register 40, select circuit 39, and decoder 27.

The four keyboard inputs 16 appear on lines 75, from which an input to the CKB logic 56 is provided. In normal operation, a keyboard input goes via CKB logic 56 to the accumulator 52 or RAM Y register 40, from whence it is examined by software or ROM programming. In manufacture of the chips, a test mode is possible, where the keyboard input on lines 75 can be entered directly into the ROM page buffer address register 46, as will be explained. Also, during hardware clear using the KC input, the K lines can be entered into the page address register, or a K line can be used as an interrupt.

Also included within the chip 15 is a clock oscillator and generator 80 which generates internally a basic clock frequency of about 500 KHz or less, and from this produces five clocks 0₁ to 0₅ used throughout the system. A power-up-clear circuit 82 produces controls which clear the calculator when the power is turned on.

The outputs 18 (D0-D10) from the chip 15, used for keyboard scanning and generating output addresses to RAMs 517 and 518 as will henceforth be explained in detail, are generated from the RAM word address on lines 26 by an output register 84 which is loaded under control of lines 61 as addressed by RAM word lines 26. The output from the register 84 is connected via lines 85 to a set of output buffers 86. Sixteen outputs are possible, but only the eleven (D0-D10) are provided as outputs to address the RAMs 517 and 518.

The register 84 is a random access register, where all bits are separately, independently, and mutually exclusively addressed. In this embodiment, only thirteen stages are provided in the register 84, so only the first thirteen of the sixteen address lines are used. When one of the twelve bits in the register 84 is addressed from decoder 27, this bit may be either set or reset as determined by controls 61 from the control PLA, i.e., from the current instruction word. The bit will remain set or reset until again specifically addressed and changed; meanwhile any or all of the other bits may be addressed and set or reset in any order. Thus, it is possible to have any combination of D register bits either set or reset, providing in this embodiment 2¹³ or 8192 code combinations on the output lines 18 for the addressing of RAMs 517 and 518. During power up or hardware clear, all the bits of the register 84 are unconditionally reset.

Similar to the register 84, the other output register 62 is static in that the contents once entered will remain until intentionally altered. The output register 62 functions as an output data buffer while the accumulator 52 and status latch 66 are being manipulated to form the next output. The output register 84 is a similar buffer for outputting the contents of the Y register 40, but has the additional feature of being fully random access. The data sources for the Y register 40 are the following: a four-bit constant stored in the ROM 24 as part of an instruction word; the accumulator 52 transferred to the Y register 40 via the selector 51 and adder 50; and data directly from the RAM 25. Once data is in the Y register 40 it can be manipulated by additional instructions such as increment or decrement.

A timing diagram for clock voltage waveforms used in the chip 15 of FIG. 3 is shown in FIG. 4. The basic machine cycle, also referred to as an instruction cycle, is an interval 90 made up of six intervals labeled 91-96, each of which is nominally two or more microseconds in length, so the machine cycle 90 is twelve microseconds or more. The phase 0₁ exists during intervals 92 and 93, 0₂ during 95 and 96, 0₃ during 93, 94 and 95, and 0₅ during interval 94, as seen in the drawing. The basic clock 0 from which the clocks 0₁ -0₅ are derived in the clock oscillator generator 80 is shown for reference.

Referring to FIG. 5, the RAM 25 and its input/output control circuitry is illustrated. The RAM 25 is composed of an array of two hundred fifty-six cells 100, each of which is a self-refreshing memory cell such as that described in copending U.S. patent application Ser. No. 454,349, filed Mar. 24, 1974 and assigned to Texas Instruments Incorporated; such application is incorporated herein by reference. The array is organized 16 × 4 × 4, wherein sixteen address lines 26 provide the "RAM Y" address function; that is, the four-bit indication usually contained in RAM Y register 40 is decoded in the decoder 27 to select one of the sixteen lines 26. These lines are labeled 26-0 to 26-15, representing the D0 to D15 signals. The array of RAM 25 also includes sixteen data input/output lines 101, these being labeled 101-1 to 101-16; these are arranged in four groups of four, 101-1 to 101-4 being one group, etc. The two-bit RAM X address on lines 28 selects one-of-four of the lines 101-1 to 101-4, etc., in each group, and causes the four selected lines, one from each group, to be connected to four input/output lines 30-1, 30-2, 30-4 and 30-8 which correspond to the 1, 2, 4 and 8 lines for a four-bit BCD code. Note that for simplicity only some of the cells 100 and representative address and input/output lines are shown in FIG. 5; also, the 0₁ and 0₅ lines needed for each cell in the array are not shown in the figure.

The RAM page decoder 29 comprises four like groups of transistors 102 which receive the true and inverted RAM X address signals from lines 28 and enable paths such that only one of the lines 101 in each group of four is connected to the respective one of the lines 30. If a code "01" exists on lines 28 then lines 101-1, 101-5, 101-9 and 101-13 would be connected to the lines 30-1, 30-2, 30-4 and 30-8 respectively. A code "11" would select lines 101-2, 101-14, etc.

The RAM I/O circuitry 31 comprises four like groups 31-1 . . . 31-8, each of which controls read or write for one bit. Each of the lines 30 is connected to one of the write lines 71 through one of four series transistors 103 which are clocked on 03, so that data reaches the lines 30 for write in during the significant interval 05, when it must exist on the selected line 101. Phase 03 is wider than needed for this purpose as may be seen in FIG. 4. The lines 30 are shorted to Vss during 02 by devices 104 which are clocked on 02, so that all I/O lines 101 are at Vss or logic "1" at the beginning of each cycle. Data is read out of sixteen selected cells 100 onto lines 101 during 01 then four selected lines 101 are then read onto the four lines 30-1 . . . 30-8 at this 01 time. For read out, the data goes through devices 105 which are clocked on 04 during 01 time, into the gates of transistors 106. Transistors 107 precharge the output lines 32-1 to 32-8 during 02, and the output lines are conditionally discharged via devices 106 during the next 04 (01) time. Thus the selected data will appear on read-out or recall lines 32-1 . . . 32-8, valid during 04 (01) time interval 92. The gates of transistors 106 will be shorted to Vss through devices 104 and 105 during the interval 95 of 04, when 02 is also on.

The lines 101 are shorted to Vss during 02 by devices 108 during intervals 95 and 96, since it is necessary for the lines to be at Vss before read-out which occurs during interval 92 of the next cycle. All the address lines 26 are at Vss during 02; this is implemented in the address decoder 27 such that an address or -Vdd exists on only one of the lines 26 only during 02, and at all other times all of the lines 26 are at Vss. Only one address line can be on at a given time.

The RAM write control 70 includes four like circuits 70-1 . . . 70-8, only two being seen in FIG. 5, which receive data inputs 53-1, 53-2, 53-4 and 53-8 from the accumulator 52, and also receive four data or control inputs 55-1 to 55-8 from the CKB logic 56. Transistors 109 are under control of the voltage on a control line 110 when a "STO" command appears on an output line 61-12 from data path control PLA 60. This can be valid only when 02 is not at -Vdd as implemented in gate 111. Transistors 112 are under control of the voltage on a control line 113 when a "CKM" or CKB-to-memory command appears on another output line 61-11 from PLA 60, also rendered valid only when 02 is not at -Vdd by a gate 114. By these devices 109 and 112, the accumulator outputs 53 or the CKB data outputs 55 can be inputs to the memory. The other CKB function is also implemented on the control 70. Output signals SETB and RSTB appearing on command lines 61-17 and 61-18 as outputs from the control PLA 60 are applied to the gates of transistors 115 and 116 to produce 1 and 0 (Vss and Vdd) voltages, respectively. Transistors 117 in series with transistors 115 and 116, controlled by CKB outputs 55, provide the set and reset bit functions. Device 115 produces a ground or logic 1 on input line 71 to the RAM if SETB is at -Vdd, for the one of four bits selected by the CKB lines 55. Likewise, device 116 produces a logic 0 on input line 71 if RSTB is at -Vdd, for the selected bit. Only one of the CKB lines 55 can be at -Vdd when CKB is functioning in the bit mode, the others are at ground which turns off transistors 117 for unselected bits. This permits setting or resetting a specific bit in the RAM 25. This function is typically used for setting and resetting flags in calculator operation; a digit may be designated for flags, with one bit each as the add flag, minus flag, multiply flag and divide flag, for bookkeeping. Later, a specific flag bit is accessed via masking the adder inputs, again with CKB. Testing flags is by the compare function in the adder. This mechanism simplifies the structure in that the same controls and select that are used in arithmetic functions are used in the test bit functions.

The binary adder 50 consists of a set of four parallel adder stages 50-1, 50-2, 50-4 and 50-8 of conventional form. All four of the stages are basically the same; two are shown in FIG. 6. Considering the stage 50-1, each adder stage consists of a first complex gate 120 and a second complex gate 121, a carry input 122 and a carry output 123. The complex gate 120 receives two inputs 57-1 and 58-1, sometimes identified as negative and positive inputs, and produces an output on line 124 which is the "exclusive or" or "equivalence" function of the inputs on 57-1 and 58-1. A carry output is produced on the line 123 by first precharging the line 123 to a 0 or Vdd on 01, then conditionally discharging when 01 goes to Vss, depending upon the output of a gate 125; when both inputs 57-1 and 58-1 are 1, one generate condition for generating a carry is satisfied, so the output of gate 125 causes a device 126 to be conductive after 01 ends, discharging line 123 to Vss or 1. A carry signal is produced on line 123 going to the next stage if both inputs 57-1 and 58-1 are 1, or if either of these is 1 and "carry in" on line 122 is 1, or if both inputs 57-1 and 58-1 are "1" and carry in on line 122 is 1, for all other situations, the line 123 remains at 0 or -Vdd after 01 ends since neither the path through device 126 or through a device 127, nor the next stage, permits a discharge. The carry input for the first bit comes from a CIN command from the control logic 60 via a line 61-0; the line 122 is also precharged with 01. Carry output from the stage 50-8 appears on line 128, is gated on 03 and inverted, and provides a CAR8 signal on line 67-1 which goes to the status logic 66.

The adder 50 provides a "compare" function, wherein a COMP output is produced on a line 67-2 which also goes to the status logic 66. This signal is produced on a line 239 which is precharged by 01 then conditionally discharged on 01 when any of the devices 130 are turned on by the outputs 124 of the gates 120. Conditional discharge occurs if line 124 goes to -Vdd, which occurs if the inputs to complex gate 120 at 57-1 and 58-1 are not the same. When all of the inputs 57 are the same as the inputs 58, COMP will be 1, otherwise 0.

Outputs from the adder stages 50-1, 50-2, etc., are produced on lines 59-1, 59-2, 59-4 and 59-8, which are the outputs of the complex gates 121. The gates 121 receive inputs 124 and carry in for that bit on lines 122, etc. The gates 121 produce an equivalence function of the outputs 124 and carry in. During 01, these outputs 59 are not valid, because the carry circuit is being precharged. Carry is not valid, so the outputs 59 are not valid, until after 01 ends. The adder output 59-1 is an input to either the accumulator register stage 52-1 or the RAM Y register stage 40-1, depending upon inputs 61-9 and 61-10 from the control PLA 60 referred to as AUTA and AUTY. These controls go through inverting gates 132 which also have 01 inputs, providing control lines 133 which can be at -Vdd only during 01.

As shown in FIG. 6, the adder input select 51 includes four similar sets of complex gating arrangements 51-1, 51-2, 51-4 and 51-8 each consisting of complex NAND/NOR gates 135 and 136. The gate 135 receives control inputs 61-4, 61-5, 61-7 and 61-8 from the control PLA 60, referred to as 15TN, MTN, NATN and ATN, which determine whether the input 57-1 will be either unconditional 1, or MEM1, or ACC1, or ACC1, respectively. The data from the RAM 25 appears on lines 32-1, 32-2, etc., from FIG. 5, and is referred to as MEM1, MEM2, etc. The data from the accumulator 52 appears on lines 53-1 and 53-1' in true and inverted form, ACC1 and ACC1 as inputs to the selector 51, so either the accumulator data or its complement may be the adder input. The inputs from the CKB logic 56 are provided on CKB1, CKB1', et seq., lines 55-1, 55-1', etc., which bypass the gates 135 and 136.

The CKB inputs are controlled by CKP and CKN through devices 137 and 138. The control signals YTP and MTP on lines 61-1 and 61-2 select either RAMY from a line 139 or MEM1 from line 32-1 as the input 58-1 via gate 136.

FIG. 6 also shows the accumulator register 52 which contains four like stages 52-1, 52-2, 52-4 and 52-8, as well as the RAM Y register which has four like stages 40-1 to 40-8. Each stage of these registers is a conventional one-stage shift register which recirculates upon itself via paths 140, so bits entered into ACC or RAM Y will stay until new data is entered. The stages each consist of two inverters and two clocked transfer devices, clocked on 02 then 01, of conventional form. Selection of whether the adder outputs 59 go to ACC or RAM Y is made by AUTA and AUTY commands on lines 61-9 and 61-10, which produce controls on lines 133 for devices 141. Data is valid at the outputs 59 from the adder 50 after 01 goes to Vss, so the lines 133 do not go to -Vdd until after 01; this is the function of gates 132.

The outputs 41-1, 41-2, etc., and 139 from RAM Y are valid after 01 ends. The true outputs 53-1, 53-2, etc., and inverted outputs 53-1' , etc., from the accumulator are valid starting at 02.

The control PLA 60 is shown in detail in FIG. 7. This device basically consists of a programmable logic array of the type described in U.S. Pat. No. 3,702,985, Probesting et al, assigned to Texas Instruments Incorporated.

THe current instruction word from the ROM 24 is applied in true and inverted form to the first section 60-1 of the PLA. These are the outputs 33 from the ROM, corresponding to R0, R0, R1, R1, etc. The lines 33, etc., are metal strips. Inverters 146, precharged on 02, produce the inverted R0, etc., signals. Thirty lines 146 in the first section 60-1 are elongated P-diffused regions, and each is connected to Vdd through a separate load device. All of the lines are clocked on 01. Between adjacent lines 146 is a Vss line, also a P-diffusion. The circles represent thin oxide gate areas, so where a circle is present a line 146 is connected to Vss when the overlying metal line 33 is at -Vdd, otherwise it stays at -Vdd. The coding of the PLA section 60-1 by gates or circles is such that only one line 146 is actuated or at -Vdd for a given instruction code on lines 33. The lines 146 become metal strips 147 in the second section 60-2 of the PLA. Another set of sixteen P-diffused lines 148 underlie the metal strips 147, along with Vss lines (not shown). Again, the circles represent thin oxide gates under the metal strips. The coding is such that for the one-of-thirty lines 147 which is actuated, a selected set of lines 148 will be actuated with the proper 1 or 0 logic level. The coding shown is for one example calculator operation. Both sections 60-1 and 60-2 are mask programmable in manufacture, so many different instruction sets are possible. The lines 148 contain the same commands as lines 61-0 to 61-15.

Note that for any instruction word where R0=1, a branch or call is being implemented, so none of the lines 147 will be actuated because no elements in the entire system controlled by lines 61 should be exercised. The R0 line 33 in first section 60-1 has gates for every line. All of the output lines 148 or 61-0 to 61-15 from the second section 60-2 are precharged to -Vdd by devices 149 clocked on 02; these lines 61-0 to 61-15 are diffused regions while within the section 60-2 and then become metal strips for connection to the adder select, etc., on other parts of the chip. A third section 60-3 of the control PLA 60 is a simple decoder rather than a PLA. This decoder produces register and bit set and reset commands, load or clear segment commands, and load or complement RAM X address commands, all on lines 61-16 to 61-23 which are P-diffused regions. Loads, not shown, are connected to those lines. Particular ones of these lines are selected according to the gate coding and the current instruction word.

In FIG. 8, the status circuitry 66 is shown in detail, including a complex gate 66-1 for resetting status line 79, and a status latch 66-2. Status is normally a logic 1, so the machine normally branches, unless status line 79 is reset to logic 0 or -Vdd. The latch is a conventional circuit with two clocked inverters and a feedback path. The output 69 from the status latch 66-2 is connected to the output register 62. The latch may be set or reset, i.e., the line 79 connected to the latch input via device 157 under control of an STSL command on line 61-15 from the control PLA 60, and 01. The output of status logic 66-1 (valid beginning at the last half of 02) is applied to device 157 via line 79, which is also connected to various gates in FIG. 11. Status logic 66-1 is a dynamic OR gate clocked on 03, and produces an output under three situations. One is clear; when the clear key is closed, KC occurs on line 199, status signal is produced on line 79, meaning that the line remains at -V for one instruction cycle. Another is the occurrance of a CAR8 signal on line 67-1 from the adder 50, FIG. 6; this, coupled with a C8 command on line 61-14 from the control PLA 60 generates "status" on line 79. In either case the status latch can be set if STSL occurs on the same instruction cycle. Thus, a carry output from the 8 bit of the adder can be used to generate status on line 79 and/or set status latch. Likewise, a COMP output from the adder 50 on line 67-2 can be used to generate status if an NE command also occurs on line 61-13 from the control PLA 60, so if the adder is used to compare two data inputs then the result can be used to generate status on line 79, and/or to set the status latch.

FIG. 8a shows the complex gate 66-1 in schematic diagram form rather than as a logic diagram. Note the output is precharged to -Vdd during 03, and will conditionally discharge depending upon the logic inputs after 03 goes to Vss, during which 02 is at -Vdd.

The ROM word and page addresses are generated in several alternative ways, employing the program counter 36, the subroutine register 43, the ROM page address register 46 and buffer 47, as well as the controls 48 and the ROM output itself on lines 33. These elements will now be described.

Referring now to FIG. 9, the program counter 36 includes eight stages 36-0 to 36-7, each of which is a register stage having two inverters 160 and 161, clocking being at 01, 02, with precharge on 03 for power saving. Only six stages of the program counter are used in the normal operation of the unit, these being stages 36-2 to 36-7 which receive the R2 to R7 ROM outputs from lines 33 via lines 37-3 to 37-7. The six-bit address on R2 to R7 is gated into the stages 36-2 to 36-7 by devices 162 when a BRNCAL "branch or call" signal appears on line 163 coming from controls 48. This means that a successful branch or call operation is being performed so the part of the instruction code which defines the branch address is loaded into the program counter by the path just described.

The two extra stages 36-0 to 36-1 in the program counter unused in regular operation, are employed for test purposes. All eight bits of the ROM output on lines 33, inverted and appearing as R0 to R7, may be loaded into all eight stages of the program counter via lines 37-0 to 37-7 by gates 162 under control of a BRNCAL signal on line 163, to appear on nodes 164, from whence the eight-bit word is read out serially via a terminal 165 during the next eight instruction cycles.

All of the stages 36-2 to 36-7 may be set to zero for power-up-clear by devices 166 which are turned on when a PUC command appears on a line 167, thus connecting a node 168 in each stage to Vdd. In this manner, a ROM word address of "000000" is generated on lines 42.

The six outputs from the program counter stages 36-2 to 36-7 to the ROM address decoder are via six lines 42-0 to 42-5, representing PC0 to PC5 signals. These are obtained at nodes 169 in each stage. Note that an address R2 to R7 on lines 33, when gated through devices 162, passes immediately through nodes 164, inverters 161, and nodes 169, to lines 42-0 to 42-5 without clocking delays.

In FIG. 9, the subroutine register 43 comprises six identical stages 43-2 to 43-7 corresponding to program counter stages 36-2 to 36-7. Each subroutine register stage includes two inverters 170 and 171, and a feedback loop 172, with gates clocked at 02 and 01. A bit, once entered, will recirculate continuously. When a "CLATCH" command is generated on a line 173 from control 48, the contents of the program counter 36 as appearing on nodes 174 will be loaded into the respective stages of the subroutine register 43 via devices 175; this must occur on 02. Normally, the control line 173 is always on, so the contents of the program counter as normally sampled into the subroutine register via devices 175 on every machine cycle. But when a CALL is executed, the command is "don't load", so the last address is kept. The six bits thus loaded into the subroutine register will thereafter continue to recirculate individually within the stages 43-2 to 43-7, until such time as a "RETN" command appears on a line 176 from control 48. This would cause devices 177 to load the six bits back into nodes 164 of the program counter stages 36-2 to 36-7, and thence immediately through inverters 161 to nodes 169 and output lines 42. At the same time, CLATCH goes negative so devices 175 thereafter load address bits into the subroutine register until another CALL mode is reached.

Referring to FIGURE 10, the ROM page address register 46 comprises four stages 46-1, 46-2, 46-4 and 46-8, each of which includes a complex gate 46' and an inverter 178, along with a recirculate path 179 and devices clocked at 01 and 02. Output from the register 46 is via four lines 35-1, 35-2, 35-4 and 35-8 from nodes 180, going to the ROM page decode in the ROM 24, valid during 02. For power-up-clear, all of the nodes 181 may be connected to Vss by devices 182 under control of the PUC command on line 167 as previously mentioned. This ultimately produces a "llll" page address on lines 35. Input to the gates 46' can be from lines 183 which are outputs from the buffer register 47, when a C4RX command appears on a line 184 from control 48. Normally, however, the page address is recirculating. The KC command, normally at Vss, blocks 02 from driving line 185 to -Vdd.

The buffer register 47 includes four register stages 47-1 to 47-8, each stage including a complex gate 47' (precharged at 03) and an inverter 187, with transfer gates clocked at 01 and 02, and a recirculate path 188. As before, a power-up-clear command on line 167 will connect all nodes 189 to Vss via devices 190, to clear the buffer register.

Inputs to the buffer register stages 47-1 to 47-8 via complex gates 47' may be from several sources. First, the ROM outputs R4, R5, R6, R7 on lines 33 may be loaded into the buffer via lines 78-1 to 78-8 when a C1RX command is produced on line 191 from the controls 48 (an instruction word of 0001XXX), both of these inputs to the gates 47' being gated in on 01. Second, the output from the ROM page address register 46, appearing on lines 192, will be the input to gates 47' when a C2RX command appears on line 193 from control 48, gated on 01; this occurs for a CALL when status is at logic 1. Third, the buffer stages may be caused to recirculate upon themselves by loops 188 when a C3RX command appears on line 194 from control 48; this occurs whenever C1RX or C2RX are both at Vss, i.e., the register 47 usually recirculates except when an address is being loaded from R4-R7, or a successful CALL is being implemented. In the test mode A KC signal on line 199 can cause the keyboard input lines K1 to K8 to be input to the gates 46' via transfer devices 196 and lines 192; this is used for test or in functions other than calculator functions. Also, -Vdd on the clear key line KC produces an input to gates 197 which are parts of the complex gates 47', to essentially disable any control by the C2RX command on line 193, breaking the path that loads the outputs 35 into 47 via lines 192; this provides a hardware clear function and other alternatives.

Generally, the registers 46 and 47 contain the same data, meaning addresses are being used which are on the same "page" in the ROM. All the branches are to the same page. However, to go to a different page, i.e., a long branch, a new page address is loaded in from R4-R7 to register 47. This results in the current address being in register 46 and on lines 35, and the new page address to go in register 47. If the branch is true or status condition satisfied, register 47 is transferred to register 46 and thus to lines 35. At this point, the same data is again in registers 46 and 47, so the machine is set up to do short branches again on the new page. If a CALL is executed, register 47 is transferred to register 46, and vice versa. Of course, if the call is on the same page, the data is the same in each register anyway. But if it is a long call, to a different page, then register 47 functions to store the address of the page existing at the time the CALL is initiated. So, when a return is executed, register 47 is transferred to register 46, the two registers again have the same data, and the machine is at the initial address, set up for short branches.

Referring to FIG. 11, the control 48 for the ROM addressing circuitry includes several separate complex gates 48-1, 48-2, etc., for generating the various commands. The gate 48-1 produces the C1RX command on line 191 in response to the presence of RO, R1, R2 and R3 on lines 33, along with the KC input on a line 199 being at Vss. This loads in a new page from R4-R7 on lines 33 for a long branch or call. A gate 48-2 produces the C3RX command on line 193, in response to the presence of RO, R1 on lines 33, KC on line 199, and a status signal on line 79 from status logic 66; all these must be at Vss for C3RX to be at -Vdd. This means that a 11XXXXXX instruction word is on lines 33 and status is at logic 1. This is a CALL. The KC input to gates 48-1, 48-2 and 48-3 functions to disable all these gates when the clear key is pressed. A gate 48-3 produces the C3RX command on the line 194 in response to KC on line 199 and the C1RX and C2RX commands at the outputs of gates 48-1 and 48-2 all being at Vss. This says recirculate the register 47 via lines 188, i.e., save the address in the buffer register. A gate 48-4 produces the C4RX command on the line 184 as a function of status on line 79, RO from the lines 33, the RETN signal on line 176, and a signal derived from CLATCH, appearing on a line 200. Whenever a return is executed, C4RX should go to Vss, so register 47 can be loaded into register 46 via lines 183. The RETN commmand 178 is produced by a gate 48-5 in response to RO, R1, R2, R3, R4, R5, R6, R7 on lines 33; that is, an instruction code of 00001111 results in a RETN command, recalling the address in the subroutine register 43 to the program counter 36 and thus to the lines 42 going to the decode select 39, as well as loading register 47 into register 46. The CLATCH command is produced from a complex gate 48-6, which is responsive to status on line 79, RO and R1 from lines 33, RETN on line 176, KC on line 199, and the power-up-clear signal PUC on line 167. A function of CLATCH is to disable the path 183 from register 47 to register 46 when a CALL is executed. This is done by line 200 going to gate 48-4, which is also responsive to RO and status being at Vss. By line 184, and line 185, the recirculate path 179 for register 46 is enabled in gates 46' while the path 183 is disabled. RO and status being 1 are a successful branch or call, and would cause transfer of register 47 to register 46, but CLATCH says don't do it. CLATCH is normally in the non-CALL mode, saying that the machine is not calling but is branching. If RO, R1 and status are 1 into gate 48-6, it means a valid CALL, so the latch is set into CALL mode. The RETN instruction says leave the CALL mode, and reset the latch. KC or PUC also reset the latch. The inverter and gate between node 201 and the line 200, along with the gate 48-6, provide a feedback loop and thus a latch function, so that when CLATCH is produced it will subsist until return RETN, hardware clear KC, or power-up-clear PUC occurs. The BRNCAL command on line 163 is produced in a gate 48-7, which is responsive to RO and status. The gate 48-7 looks for a successful branch or call; the word address transfer is always implemented when RO is 1 and status is 1.

Normally KC is negative so K2 is out of the circuit. If KC is at V_(SS), then K2 can control BRNCAL.

The keyboard input lines 75 are coupled to inputs 16 by means of Schmidt trigger circuits 205 which impose a threshold and hysteresis effect. While referred to as a keyboard input, and used as such for reading key array 501', BCD or binary data may also be entered directly into the lines 16 from any source such as the data output from RAMs 517 and 518. Note that true data is a 1 or V_(SS) level, and at other times the lines 16 and thus lines 75 will be held at 0 or V_(DD) by depletion load devices L. The KC line 206, used for hardware clear, is connected through an inverter to the KC line 199 so that the hardware function is controlled by switch 538.

Numerical data is not entered via the keyboard inputs in the form of numerical data; that is, when a 7 key is depressed, a BCD 7 or 0111 is not generated on the K lines, but instead typically a sequence of programming steps is employed to detect that a key is down, then store the K line information in the accumulator 52 while the identity of the line 18 which is actuated is stored in the Y register 40. This data may then be used to identify the key by software and enter a BCD number in the RAM 25 or execute an operation.

An advantage of the input system of this digit processor is that numbers and operations may be intermixed on the K lines and the numbers need not be in numerical order.

The keyboard inputs go to the CKB logic 56 and from there, the keyboard can be loaded into the accumulator or RAM Y registers.

The CKB logic 56 shown in FIG. 12 consists of four indentical complex gates 56-1, 56-2, 56-4 and 56-8 which produce the CKB1 to CKB8 outputs on lines 55-1 to 55-8. The CKB outputs are applied to the adder input select 51 and to the RAM Write control 70, as explained. Each of the four complex gates 56-1 to 56-8 contains three separate gating arrangements 210, 211 and 212, each of which will produce a CKB output under certain conditions, dependent upon the current instruction word on lines 33. The gating arrangements 211, in each case, receive RO, R1, R2, R3, R4 from lines 33 into AND gate 213, and either K1, K2, K4 or K8 from lines 75-1 to 75-8 into AND gate 214; this serves to place the keyboard or external data on the CKB lines 55, when the instruction word is 00001XXX. The gating arrangements 210 function in setting and resetting bits in the RAM 25, and receive R0, R1, R2 and R3 from lines 33 into AND gate 216, so this part will be responsive to an instruction word 0011XXXX, while the remaining parts of the gates 210 are responsive to two of the R6, R6, R7 or R7 lines via OR gates 217 so that only one of the four gates 56-1 to 56-8 will produce a CKB output. This serves to select one of the four bits for a bit operation. The gating arrangements 212 include an AND gate 218 in each case, responsive to R2, R3, R4 from lines 33. The output of gate 218 is OR'd with R1 in gate 219, which in turn is connected to AND gate 220 along with RO and either R4, R5, R6 or R7. Thus complex gates 212 serve to place all four bits R4, R5, R6 and R7 on the CKB outputs 55 when the instruction code is 01XXXXXX and any one or more of R2, R3 or R4 is a 0. For some constant operations, R4 or the first bit in the constant field is always a 1 - this is a necessary limitation on the constants which may be employed in this case. R1 is actually a "don't care" bit, if R2-R4 are 0, in that code of CKB outputs are applied to the adder input select 51 and to the RAM Write control 70, as explained. Each of the four complex gates 56-1 to 56-8 contains three separate gating arrangements 210, 211 and 212, each of which will produce a CKB output under certain conditions, dependent upon the current instruction word on lines 33. The gating arrangements 211, in each case, receive R0, R1, R2, R3, R4 from lines 33 into AND gate 213, and either K1, K2, K4 or K8 from lines 75-1 to 75-8 into AND gate 214; this serves to place the keyboard or external data on the CKB lines 55, when the instruction word is 00001XXX. The gating arrangements 210 function in setting and resetting bits in the RAM 25, and receive R0, R1, R2 and R3 from lines 33 into AND gate 216, so this part will be responsive to an instruction word 0011XXXX, while the remaining parts of the gates 210 are responsive to two of the R6, R6, R7 or R7 lines via OR gates 217 so that only one of the four gates 56-1 to 56-8 will produce a CKB output. This serves to select one of the four bits for a bit operation. The gating arrangements 212 include an AND gate 218 in each case, responsive to R2, R3, R4 from lines 33. The output of gate 218 is OR'ed with R1 in gate 219, which in turn is connected to AND gate 220 along with RO and either R4, R5, R6 or R7. Thus, complex gates 212 serve to place all four bits R4, R5, R6 and R7 on the CKB outputs 55 when the instruction code is 01XXXXXX and any one or more of R2, R3, or R4 is a 0. For some constant operations, R4 or the first bit in the constant field is always a 1 -- this is a necessary limitation on the constants which may be employed in this case. R1 is actually a don't care bit, if R2-R4 are 0, in that code of 00000XXX also applies the constant field R4-R7 to the CKB lines 55.

Referring to FIG. 12a, one of the complex gates 56 is shown, this being gate 56-8. The other gates 56-1, 56-2, 56-4 would be the same except for changes in the R6, R7 and K inputs as shown in FIG. 12. On 02, the output line 55-8 is precharged to -Vdd through device 222, then during 01 of the next cycle the output line 55-8 is conditionally discharged via the gate arrangements 210, 211 and 212, and device 223. It is seen that if the instruction code on lines 33 is 0011XXXX, gate 210 will be controlling because gate 212 will be shorted by R1 and R2, R3 while gate 211 will be shorted by R2 and R3. Thus, for 0011XXXX, one of the four CKB gates 56 will be selected by gates 217 which receive combinations of R6, R6, R7, R7. If the instruction on lines 33 is 00001XXX, gate 211 will be controlling because gate 210 is shorted by R2, R3, while gate 212 is shorted by R1, R4, s that K8 will determine whether line 55-8 is shorted to ground. If the instruction on lines 33 is 01XXXXXX, the gate 212 is controlling because gates 210 and 211 are shorted by R1, so R7 (or R4, R5 or R6 in the other gates 56) will determine discharge of line 55-8. Gate 212 also controls if the code is 00000XXX, because gate 210 is shorted by R2, R3 and gate 211 is shorted by R4, while gate 219 is not conducting because R2, R3 and R4 are all 1's.

The overall function of the CKB logic 56 is thus seen to be threefold. First, a constant appearing in a field of the instruction code may be applied to the lines 55. Second, the keyboard or external inputs on lines 75 may be applied to the lines 55. Third, one of the four lines 55 may be selected, as for addressing one of four bits of a digit in the RAM 25. All of these functions are under control of the current instruction word.

In FIG. 13, the RAM page address register 73 is shown. The RAM page address consists of two bits, RAXO and RAX1, which appear on lines 28. The register consits of two identical stages 73-0 and 73-1, each of which has an input 225, two inverters 226, and two separate feedback paths 227 and 228. Each stage is thus a recirculating register, clocked on 01 and 02. A two-bit RAM page address may be loaded into the inputs 225, if devices 230 are turned on by a LDRAX or "load RAM X" command on line 61-23 from the control PLA 60. The address, once loaded, will recirculate indefinately via path 228. The RAM X address in the register is complemented when devices 231 are turned on by COMRAX command on line 61-22 from the control PLA 60 if it is a 0 or -Vdd. This causes recirculation via paths 227, and the address will be complemented. When COMRAX is a 1, the bits will recirculate via paths 228, and the address will remain the same.

The RAM page address is contained in the two-bit X register 73 which is used to directly address the RAM page decoder 29 via lines 28. The register 73 may be modified in two ways. First, R6 and R7, from the ROM 24 as part of the instruction word can be loaded, as described. Second, the address stored in the register 73 can be complemented bit for bit. No other mechanism including power-up-clear and hardware clear have any affect on the X register 73. Modifications that do occur in the register 73 are not valid until the next instruction cycle.

Referring to FIG. 14, the ROM 24 and the ROM page decoder are shown. The ROM consists of an array of X lines 240 which are elongated P-diffusions in the semiconductor substrate, and Y lines 241 which are metal strips over a field oxide coating on the substrate, made in conventional manner. Sixty-four of the Y lines are provided in the array, although only a few are seen in FIG. 14, and one hundred twenty-eight X lines. The ROM is of the virtual ground type, and so only one ground line 242 is needed for each eight X lines 240; interior ground lines are shared with adjacent groups, so actually only nine ground lines are needed rather than sixteen. Virtual ground ROM's are disclosed in copending U.S. patent applications SER. No. 396,901, filed Sept. 13, 1973, and Ser. No. 400,471, filed Sep. 24, 1973, assigned to Texas Instruments. A data bit is formed between adjacent ones of the lines 240, or between a line 240 and a ground line 242, by means of thin oxide areas 243 as set forth in U.S. Pat. No. 3,541,543, assigned to Texas Instruments. A pattern of the thin oxide areas 243 define the 1 or 0 stored for each data bit, as they will each define the presence or absence of an MOS transistor. The ROM contains 8192 data bit locations or potential locations for the thin oxide areas 243. The locations are organized as 1024 words containing eight bits each. The eight bits exit from the ROM on eight lines 33 (only one of which is shown in FIG. 14) which correspond to bits RO to R7 of the instruction word. The 1024 words are divided into sixteen groups or pages of sixty-four words each.

The page decoder consists of sixteen arrays 244 of transistors 245. Only two arrays 244 are shown, but there are sixteen exactly alike. Each array contains only fourteen transistors 245, and one transistor 246, which is a great improvement over decoders for prior virtual ground ROM's. The decoder receives the four bit ROM page address on four lines 35-1 to 35-8, from the ROM page address register 46 of FIG. 10. Four input/precharge circuits 247, all alike, receive the ROM page address bits clocked in on 02 by devices 248. Inverters 249 provide for true and complement, so eight address lines 250 run the entire width of the ROM, through all sixteen of the arrays 244. These lines 250 provide X1, X1, X2, X2, X4 and X4 inputs to the gates of transistors 245, and X8 and X8 inputs to the gates of transistors 246. The selected lines 250 are charged on 02 via devices 251, with bootstrapping by gated capacitors 252. An output circuit 253 connects each of the pairs of arrays 244 to one of the lines 33, so there are eight of the circuits 253, all alike. Adjacent arrays each have output lines 254 and 255, which are also X lines 240 in the ROM array; the X8, X8 address bit selects only one of these output lines via transistors 246. The one selected is connected to the input of an inverter 256, to ground the output line 33 via device 257 if the selected one of the lines 254, 255 is at Vss when 02 occurs, or to connect the output line 33 to -Vdd (through 02) via device 258 if the selected one of the lines 254, 255 is at -V when 02 occurs. A gated capacitor 259 serves to bootstrap the output to a high level. The page address selects one of eight lines 240 in each group of eight by the transistors 245 in each array 244; the 1, 2 and 4 bits, i.e., X1, X1, X2, X2, X4, X4 lines are actuated in a pattern which connects one X line 240 to ground line 242 and the next adjacent X line 240 to line 254 or 255. For example, a ROM page address of 1010 (listed X1, X2, X4, X8) connects line 240a to ground line 242 via devices 245a and 245b, and connects line 240b to output line 254 via device 245c, while the device 246 on the X8 line connects line 254 to the node 260 and thus to the output. Any thin oxide gate 243a between lines 240a and 240b will thus be determinative, for the particular Y line 241 selected by the Y decode 27 to be later described.

All of these lines 240 are connected to a common line 262 by devices 263 which are clocked on 0₁. The common line 262 is connected to the -Vdd supply 264 by two depletion mode MOS transistors 265, so that the line 262 charges to -(Vdd - 2Vt), where Vt is a threshold voltage for the devices 265. Typically, Vdd is 15.0 volts and Vt is 2.0 volts. So, the lines 240 charge toward a lower voltage, meaning that the lines will be precharged fast and will discharge fast, compared to the performance if the lines are precharged to Vdd.

Referring to FIG. 15, the word decoder 27 for the ROM 24 and RAM 25 is shown in detail, along with the data select circuit 39. The decoder 27 recieved a twelve line address (six bits and their complements) on lines 38, and selects one of sixty-four output lines 34 for ROM 24 or one of sixteen lines 26 for RAM 25. The lines 34 are the metal stripes or Y lines 241 in the ROM. The select circuit 39 receives a four-bit RAM Y address on four lines 41-1 to 41-8 from the RAM Y register 40, gated in on 02 by devices 270. The circuit also receives the six-bit program counter output 42 on lines 42-0 to 42-5, gated in on 01 by devices 271. During every machine cycle, a ROM address is delivered on 01 and a RAM address on 02. Since the RAM Y address is only four bits (2⁴ = 16), while the ROM address is six bits (2⁶ = 64), the extra bits are connected to Vss and Vdd at points 272 and 273, respectively, for the RAM address. With inverters 274, trues and complements are provied to the decoder on twelve lines 280 (same as lines 38), these being labelled YO, YO, Y1, Y1 . . . Y6, Y6. The lines 280 are metal strips, overlying P-diffused lines 281, to form an array similar to a ROM. Thin oxide areas are provided in selected bit positions under the lines 280 to create MOS transistors between adjacent ones of the lines 281. A given six-bit code selects one of the lines 281. All of the lines 281 are connected to the gates of devices 282 on 01 via devices 283. Gated capacitors 284 serve to bootstrap the gate voltage on 282 to a higher level. The lines 241 are all at ground until one is driven negative during 02 from line 285, due to one of the transistors 282 having had its gate driven negative during 01. The lines 281 are charged by 04 twice during each machine cycle. 04 is applied to lines 281 from line 286 via devices 287 and 288. During the first part of 01, all of the lines 281 and gates of devices 282 charge negative from 04, then during the last half of 01, 04 goes to ground and all but one of the lines 281 and gates of devides 282 discharge back to ground, depending on the pattern of thin oxide areas connecting lines 281 together and depending on which ones of the lines 280 are negative. Devices 289 and 290 select alternate paths for discharging of the lines 281. These devices 289 and 290 are gated by Y6 and Y6, so one will always be on and the other off, during 01 and 02. The lines 281 also charge negative from 04 during interval 95, the first half of 02, then during the last half of 02 all but one discharges to ground into the 04 source.

The output from the decoder 27 to the lines 26 occurs on 02, via devices 292, through which sixteen of the sixty-four lines 281 are connected to gates 294 of devices 295 in address output circuits 300, of which there are sixteen identical circuits -- only one is shown. The selected RAM address line 26 is driven to -V during 02 from line 301, by device 295. Bootstrap-gated capacitor 302 assures a high negative level on selected line 26. The unselected lines 26 are held at ground by a zero-keeping circuit including devices 302, 303 and 304. During 02, while gate 294 is being charged for the one selected output, the device 304 conducts and drives the gate 305 negative, turning on transistor 302 and thus connecting all the lines 26 to Vss line 306. Then, when 02 goes to ground, and 02 goes negative, node 307 of the selected address line 26 starts negative, turning on device 303 and discharging node 305, thus disconnecting the selected address line from ground. The unselected address lines will stay at ground because node 305 will remain negative, keeping device 302 on. The effect of this output circuitry 300 is that lines 26 will all be at ground during 02, and during 02 they will all be at ground except the selected one which will be at -Vdd.

Turning now to FIG. 16, the output register 84 and output buffers 86 to provide addresses to external RAMs 517 and 518 are shown in detail. This register consists of thirteen (eleven of which are utilized in the present embodiment) identical stages 310, only two being illustrated. Each stage 310 is a self-refreshing RAM cell generally the same as used in the RAM 25, but with added controls. The cell includes five transistors 311, 312, 313, 314 and 315. The capacitance of node 316 and the capacitance of the gate 317 of transistor 311 are important. If a negative voltage is stored at node 316, it will charge gate 317 during 0₅ via device 314. Then during 0₁, the negative voltage on gate 317 turns device 311 on, and device 312 will be on, so node 316 will charge more negative, refreshing the stored charge. If the node 316 is at Vss, gate 317 will not be charged during 0₅, device 311 will not turn on during 0₁, so node 316 will remain at Vss. Input to the node 316 is via device 313 which is turned on or off by one of the address lines 26. All of the devices 313 of the thirteen cells 310 are connected to a line 320, which is grounded during 0₂ by device 321. Lines 61--16 and 61-17 receive SETR and RSTR commands from control PLA 60, which connect the line 320 to ground or Vdd, respectively, via devices 322 and 323. The nodes 315 are forced to -Vdd upon power-up-clear or by the clear key via command line 324 upon which KC + PUC is applied from clear circuit 82. A negative voltage on line 324 turns on device 325, applying a 0 or -Vdd to node 316. All of the cells 310 will remain in this 0 state until a SETR command occurs and one of the lines 26 goes to -V, which occurs during 0₂. Only one of the cells 310 can be set during one instruction cycle because only one RAM Y address line 26 goes negative. Once set to 1 or Vss, a cell will remain in that condition until specifically addressed and reset by actuating RSTR command and addressing the cell by a line 26. The stages 84-0 to 84-12 can be set and reset in any order, and several or all can be in the set condition at the same time. For example, if it is desired to test for "any key down," all of the outputs 18 may be actuated by setting all of the stages 84 (requiring one instruction cycle for each stage) then the K lines would be read in and tested. Also, leading zero suppression may be implemented by various routines because all D outputs need not be actuated, and they may be actuated MSD to LSD, or LSD to MSD.

The output buffers 86 function to provide either Vdd or ground potential to the terminals 18, according to the bits stored in the various stages of the register 84. The circuitry shown is adapted to assure full voltage swing.

In FIG. 17, the accumulator and status output register 62 is shown in detail along with the decoder PLA 63 and the output buffers 65. The register 62 consits of five identical recirculating register stages 62-1, etc., each of which includes a NAND gate 330, an inverter 331, and a recirculate path 332. The stages are clocked at 0₃ and 0₂ by lines 333 and 334. Input data is applied to stages 62-1 to 62-8 from the accumulator output lines ACC1 to ACC8 (53-1 to 53-8) from FIG. 6. Input data is applied to the status buffer 62-5 from the status latch output line 69 of FIG. 8. These inputs are loaded via devices 335 upon the occurrence of a LODS command on line 61-20 from the control PLA 60. All of the stages of the register 62 may be cleared by a CLRS command on line 61-21 from the control PLA 60, which is an input to all of the gates 330. Also, the stages of the register 62 are cleared, that is, zeros are loaded by a KC +PUC command on line 324. True and complement outputs from the states 62-1 to 62-5 are applied by A1, A1, A2, A2, . . . S, S lines 336 to ten inputs to the first section 63-1 of the PLA 63, which causes one of twenty lines 63-2 to be actuated in the usual manner of coding PLA's. The second section 62-3 of the PLA is coded to actuate one or more of the lines 64 for inputs on the lines 63-2. The PLA 63 may be coded to convert the BCD information on the accumulator output to coded display drive signals or BCD may be sent out on four of the lines 64, or any other desired code.

The eight output buffers 65-1 to 65-8 are all alike -- only two are shown in FIG. 17. These buffers function to apply Vss or -Vdd to the output terminals 17.

In FIG. 18, a circuit is shown for generating power-up-clear command PUC on line 167 of FIGS. 9 and 10, and generating the "hardware clear or power-up-clear" command KC + PUC on line 324 of FIG. 17. An OR gate 338 receives the clear key signal from KC on line 199 and an inverter. PUC is generated by a latch 340 and a capacitor 341. When power is first turned on, the capacitor 341 is not yet charged, and the input 342 is essentially at ground, so latch 340 is in one state, producing an output via line 343 to produce PUC on line 167 and KC + PUC on line 324. After the capacitor has charged, the latch 340 flips, and PUC goes back to ground. Feedback loop 344 assures that the capacitor discharges, or that the latch 340 is in the proper state, when power comes on. If an external capacitor is used, KC inverted, on line 345, serves to stretch PUC. The remainder of the circuitry is for testing the chip. The output 165 of the last stage 36-0 of the program counter 36 is connected to the device 346, which is turned on by KC on line 199. The output of the device 346 is connected by line 347 to the input of the S8 output buffer 65-8. So, when KC is negative, the contents of the program counter 36 can be read out serially on a terminal 17-8, via buffer 65-8. When a KC is at ground, device 348 is turned on, and line 64-8 is connected to the S8 output buffer for the usual operating mode.

Referring to FIG. 19, a feedback circuit for the program counter of FIG. 9 is illustrated. This logic arrangement examines the six individual outputs 42-0 to 42-5 of the program counter 36 and determines whether a 1 or 0 is to be fed into the first stage of the program counter via line 350. An exclusive OR circuit 351 examines lines 42-4 and 42-5 which are the outputs of the last two stages of the counter 36, and generates an equivalence; if both are 0 or both 1, a 1 is fed back to input 350, and if they are different, then a 0 is fed back. This permits a count up to sixty-three in a random manner, but some means must be provided to break out of a situation of all ones in the shift register 36. With all ones, the term fed back would be 1, and the counter would remain at all ones. To avoid this, the gate 352 is responsive to 012345 and forces a count of 111111, where the counter would be stuck, but AND gates 353 and 354 are together responsive to 012345, forcing a 0 as the next feedback. This arrangement causes the six stage shift register to count to sixty-four in a pseudo-random manner, i.e., in a set repetitive order but not in regular order. The gating arrangement 355 is for testing; when KC appears on the line from FIG. 11, the usual path from gate 351 is broken, and the K1 input on line 75-1 is fed serially into the program counter input 350.

Referring to FIG. 20, a block diagram of the clock generator 80 is illustrated. The clock generator consits of three conventional counter stages 360, each of which is clocked by 0 and 0 which are obtained from a clock oscillator 361. The clock 0, at a frequency of about 500 KHz, may be synched directly from the external pin 22, or the external pins 22 and 23 may be tied together and to -Vdd through a resistor 362 which sets the frequency. The frequency may be set more precisely by using a smaller resistor and a capacitor 363 connected to Vss. To generate the six intervals 91-96 of FIG. 4, from the clock 0, counter stages are connected to count to six in conventional manner, using a feedback circuit 364. A decoder 365 selects from the three outputs 366 from the counter, representing the six distinct states of the counter, to produce 0₁, 0₂, 0₃ and 0₅ on output lines 367, and these are inverted to produce 0₁, 0₂, 0₃ and 0₅ on outputs 388, to be used throughout the system. To generate 0₄ the outputs 367 for 0₁ and 0₂ are connected to an OR gate 369, the output of which is delayed one interval by one counter stage 370, producing 0₄. The inverted 0₄ output provides 0₄ on line 371.

In FIG. 21a to 21j, the logic gates, inverters, etc. which are used in the system of FIGS. 3 and 5-20 are shown in detail. Note that all of the inverters are of the ion implanted depletion load type, which minimizes power consumption. The gates use either depletion loads, or gated loads, or are of the precharge type, again for power savings.

The eight-bit instruction words contained in the ROM 24 and read out onto the lines 33 are of the format shown in FIG. 22, where block 380 represents a word containing eight bits RO to R7. This word may be considered as having certain fields and subfields, which are different for various functions. The RO bit always distinguishes between branch or call (logic 1) and operation (logic 0); this is the OPl field. The instruction set has four basic formats I, II, III and IV, and the field OPl appears in all. Format I is for branches or calls, and includes a field CB at R1 which distinguishes between the two, along with a field W at R2 to R7 which is a six-bit address for the location of the branch or call. Format II is that of instructions involving constants of four bits contained in field C at R4 to R7; here the three-bit OP2 field at R1 to R3 defines the operation performed with the constant. Format III is for bit and RAM page operation, where field B is the bit or address, field F defines the operation, and field OP3 is characteristic of the 011 code for bit or RAM page operations. Format IV is for arithmetic or special instructions defined by fields OP3 and A.

Table I shows the complete program stored in the ROM for control of the auto-dialer system in accordance with the present invention. An explanation of each of these instructions are set forth in Table II.

Note that the mnemonics for the various instructions in the instruction set are identical with most of the lines 147 and 61-16 to 61-23 of the control PLA of FIG. 7.

It will be noted that operation of the program counter 36 and the subroutine register 43 depends on the mode (or machine state) of the system. Two states are possible, the normal state and the CALL state which signifies entry into a subroutine. Machine state is determined by the status of the CALL latch 201 which is controlled by successful CALL or RETURN instructions.

At the beginning of each instruction cycle during which the machine is in the normal mode of operation, the word address present in the program counter 36 is updated via the circuit of FIG. 19 to generate the next ROM word address and this next ROM address is unconditionally stored in the subroutine register 43. Upon execution of a successful CALL instruction, the machine enters the CALL state preventing further data transfer into the subroutine register 43. The contents of the subroutine register 43 are not held at the word address of the CALL instruction, but instead at the word address of the next sequential instruction.

Executing a RETURN instruction will return the machine to the normal state and transfer the contents of the subroutine register 43 into the program counter 36, thereby returning to the proper word address.

The program counter 36 is not affected by the machine state or CLATCH. The program counter will generate the next word address every instruction cycle unless the contents are altered by the execution of a successful CALL, a successful BRANCH or a RETURN instruction.

                  TABLE I                                                          ______________________________________                                         PROGRAMMED ROM INSTRUCTION CODES                                               ADDRESS  INSTRUCTION ADDRESS    INSTRUCTION                                    ______________________________________                                         000      00000000    031        00111100                                       001      00101000    032        10000110                                       002      00000000    033        10010101                                       003      00111110    034        10000100                                       004      01000010    035        00001010                                       005      00000011    036        10101111                                       006      01100000    037        00111000                                       007      01000110    038        01100110                                       008      01000000    039        00111000                                       009      10000000    03A        01000111                                       00A      00100010    03B        00101011                                       00B      01001010    03C        10110100                                       00C      01100000    03D        01001101                                       00D      01001011    03E        01001111                                       00E      00111010    03F        00111100                                       00F      01001011    040        00001111                                       010      00010100    041        00100001                                       011      00001011    042        00000000                                       012      00101000    043        01001100                                       013      00000010    044        01100000                                       014      00100010    045        01000100                                       015      01000000    046        10001001                                       016      00111010    047        00001010                                       017      00011000    048        10100110                                       018      00010100    049        10001001                                       019      00100011    04A        00010100                                       01A      00111001    04B        00101001                                       01B      00111001    04C        01000111                                       01C      00010010    04D        01010111                                       01D      10010100    04E        01000100                                       01E      10000000    04F        10000000                                       01F      10010100    050        00001010                                       020      01001100    051        01001011                                       021      01001100    052        01000001                                       022      10011011    053        10101001                                       023      00000011    054        10010111                                       024      10010100    055        01001010                                       025      10010100    056        01000000                                       026      01001011    057        00001101                                       027      00010100    058        00100010                                       028      10010100    059        10001001                                       029      10011000    05A        01000000                                       02A      10000000    05B        10101101                                       02B      01100000    05C        00110110                                       02C      00000010    05D        00100010                                       02D      10010010    05E        00101000                                       02E      00010111    05F        00010100                                       02F      01000000    060        01001000                                       030      01100100    061        10100011                                       062      00001011    093        00010110                                       063      00100001    094        01001100                                       064      00010000    095        00100011                                       065      00111001    096        01000111                                       066      10011000    097        00000011                                       067      00001010    098        01001100                                       068      00110000    099        00101011                                       069      00110000    09A        10110011                                       06A      00000000    09B        00111001                                       06B      00100011    09C        00100110                                       06C      10110011    09D        01000101                                       06D      00000011    09E        10110010                                       06E      01000100    09F        01000111                                       06F      00110010    0A0        01000101                                       070      01011111    0A1        00100001                                       071      00111001    0A2        11100101                                       072      10011100    0A3        10010011                                       073      00100001    0A4        10000000                                       074      01001011    0A5        10010010                                       075      01000111    0A6        01001100                                       076      10010111    0A7        10000000                                       077      00100001    0A8        10110110                                       078      01001111    0A9        10101001                                       079      10111011    0AA        10010010                                       07A      10110100    0AB        01001100                                       07B      00111111    0AC        01100000                                       07C      01000100    0AD        01100000                                       07D      00000011    0AE        01010111                                       07E      01011111    0AF        01000000                                       07F      00100010    0B0        01000001                                       080      00000000    0B1        00000011                                       081      01100000    0B2        01100000                                       082      00000000    0B3        00011010                                       083      01000000    0B4        10111110                                       084      00101010    0B5        10101001                                       085      00011000    0B6        00100010                                       086      00001010    0B7        01011010                                       087      00111010    0B8        00101000                                       088      01001101    0B9        01001100                                       089      00101011    0BA        01101000                                       08A      10001100    0BB        00100010                                       08B      10001111    0BC        10110101                                       08C      00000011    0BD        01000101                                       08D      10010010    0BE        10010111                                       08E      01100000    0BF        00010110                                       08F      00011100    0C0        00000011                                       090      00011000    0C1        00111101                                       091      10010010    0C2        10101001                                       092      00111000    0C3        00011111                                       0C4      10000000    0F6        01000000                                       0C5      10000010    0F7        00001000                                       0C6      00100101    0F8        00001100                                       0C7      10111001    0F9        10101111                                       0C8      00101000    0FA        00111101                                       0C9      10000000    0FB        00001101                                       0CA      01101000    0FC        11000100                                       0CB      10000101    0FD        00101011                                       0CC      00111101    0FE        01010101                                       0CD      00100100    0FF        01001111                                       0CE      00101000    100        00000000                                       0CF      00000011    101        10100011                                       0D0      00100100    102        00000000                                       0D1      11110000    103        00111100                                       0D2      00000011    104        01001101                                       0D3      01001111    105        01001000                                       0D4      00001111    106        10011100                                       0D5      00111101    107        10001100                                       0D6      00111110    108        11000100                                       0D7      00100001    109        01010001                                       0D8      00000011    10A        00111101                                       0D9      01000010    10B        00100001                                       0DA      01111000    10C        01100100                                       0DB      00101000    10D        01001000                                       0DC      00011111    10E        10101010                                       0DD      00100100    10F        01001000                                       0DE      10111001    110        10000101                                       0DF      10011011    111        00111101                                       0E0      10101110    112        01000000                                       0E1      00101010    113        00011111                                       0E2      00101000    114        01000000                                       0E3      01111110    115        10101010                                       0E4      00101000    116        00111000                                       0E5      01000000    117        10000100                                       0E6      01000000    118        00011101                                       0E7      00010010    119        10101011                                       0E8      10100101    11A        00001101                                       0E9      00001100    11B        00110011                                       0EA      00100101    11C        00010000                                       0EB      01000000    11D        01001000                                       0EC      10010111    11E        00011101                                       0ED      01000010    11F        00111111                                       0EE      01101000    120        00111011                                       0EF      00111110    121        00010011                                       0F0      01000000    122        00000000                                       0F1      10111111    123        00001101                                       0F2      00111000    124        11000100                                       0F3      10111001    125        00011111                                       0F4      00000011    126        00010011                                       0F5      00111010    127        00100010                                       128      10000101    159        01000010                                       129      01001100    15A        00101111                                       12A      00011011    15B        10100001                                       12B      00011011    15C        01100000                                       12C      00100010    15D        01001111                                       12D      10101101    15E        01001111                                       12E      10011011    15F        10101110                                       12F      00010011    160        01000000                                       130      00111101    161        10110001                                       131      10100111    162        00001111                                       132      11001001    163        10100110                                       133      01001111    164        00010000                                       134      10100001    165        10001000                                       135      00011011    166        01010100                                       136      00111000    167        00101011                                       137      10111001    168        00100110                                       138      00111011    169        01000010                                       139      01001100    16A        10101000                                       13A      00000011    16B        10011001                                       13B      00110001    16C        10011111                                       13C      10111100    16D        00000010                                       13D      00001001    16E        10010111                                       13E      10111010    16F        00111100                                       13F      01010100    170        10100001                                       140      10001100    171        00100010                                       141      00110000    172        00111101                                       142      00000000    173        01000000                                       143      00111101    174        00100001                                       144      01001111    175        00000011                                       145      00001111    176        00111000                                       146      10100011    177        00111100                                       147      00111100    178        00100011                                       148      01001111    179        01000000                                       149      00001111    17A        10001000                                       14A      01001101    17B        00000011                                       14B      00100100    17C        00100011                                       14C      01100000    17D        00001101                                       14D      10000110    17E        10011110                                       14E      10111000    17F        01011111                                       14F      10111100    180        00000000                                       150      10010001    181        00101000                                       151      10010010    182        00000000                                       152      00110011    183        01001111                                       153      01100000    184        00111011                                       154      00111101    185        01001000                                       155      01010000    186        10010010                                       156      00100010    187        10000000                                       157      01110100    188        01111100                                       158      10011100    189        01000010                                       18A      00111100    1BB        01000010                                       18B      00000011    1BC        10010011                                       18C      10011111    1BD        00010001                                       18D      00111110    1BE        01000011                                       18E      00011110    1BF        00110111                                       18F      00100011    1C0        00000000                                       190      10001000    1C1        00000011                                       191      01110100    1C2        00000000                                       192      10100010    1C3        00011111                                       193      01000010    1C4        10000000                                       194      00010001    1C5        10010101                                       195      00100001    1C6        00110000                                       196      00100010    1C7        00000011                                       197      10001011    1C8        01000000                                       198      00000011    1C9        00001010                                       199      01010101    1CA        01000111                                       19A      01010101    1CB        00010110                                       19B      01001111    1CC        00111001                                       19C      00010001    1CD        01001000                                       19D      10000010    1CE        10001111                                       19E      10110011    1CF        00111001                                       19F      01000111    1D0        00000000                                       1A0      01001000    1D1        10000000                                       1A1      00010100    1D2        00100001                                       1A2      10011001    1D3        01101000                                       1A3      00011111    1D4        10100011                                       1A4      00100010    1D5        01001000                                       1A5      10011001    1D6        00111111                                       1A6      10000011    1D7        00010000                                       1A7      00111100    1D8        00111100                                       1A8      10011001    1D9        00111001                                       1A9      01001000    1DA        10110010                                       1AA      01011000    1DB        01100000                                       1AB      00011110    1DC        10100111                                       1AC      10010001    1DD        01000111                                       1AD      00111111    1DE        01010111                                       1AE      00111010    1DF        01000111                                       1AF      00100011    1E0        00101000                                       1B0      00001011    1E1        01000011                                       1B1      00011110    1E2        00000000                                       1B2      00111100    1E3        00111100                                       1B3      10101010    1E4        01001011                                       1B4      00100010    1E5        00111111                                       1B5      10110100    1E6        00011000                                       1B6      10111100    1E7        00100001                                       1B7      00100001    1E8        00011001                                       1B8      10000000    1E9        00100010                                       1B9      00111000    1EA        10000000                                       1BA      01100010    1EB        01101000                                       1EC      00111110    21E        00111001                                       1ED      00000011    21F        01100000                                       1EE      00100010    220        10000100                                       1EF      01000011    221        01000000                                       1F0      00111100    222        00000000                                       1F1      00110110    223        10000000                                       1F2      01001000    224        10000000                                       1F3      01000001    225        00010110                                       1F4      10000000    226        01000011                                       1F5      10010101    227        00100001                                       1F6      01000010    228        00100001                                       1F7      01001000    229        10100100                                       1F8      01001011    22A        10101110                                       1F9      10010101    22B        00000010                                       1FA      00000011    22C        01001000                                       1FB      00100001    22D        00100001                                       1FC      01001011    22E        01001111                                       1FD      10010101    22F        00111001                                       1FE      10111101    230        00100001                                       1FF      00111010    231        00100001                                       200      00000000    232        10110000                                       201      01000011    233        01001000                                       202      00000000    234        01001011                                       203      01000010    235        01000001                                       204      00100010    236        10100100                                       205      00111011    237        00000011                                       206      00000011    238        01000010                                       207      00010000    239        00110111                                       208      10001110    23A        01000010                                       209      01000100    23B        00111110                                       20A      10000000    23C        01001111                                       20B      10001100    23D        10110101                                       20C      01011011    23E        01000011                                       20D      01000111    23F        00110001                                       20E      00110010    240        00000000                                       20F      00010000    241        00111101                                       210      00000000    242        00000000                                       211      00001010    243        00111101                                       212      00010000    244        00011111                                       213      00010000    245        01000111                                       214      01010011    246        10111010                                       215      00100010    247        00111010                                       216      01000010    248        01001001                                       217      10101001    249        10001000                                       218      01110011    24A        10100101                                       219      10110100    24B        00100001                                       21A      10000000    24C        11000100                                       21B      00110000    24D        00111101                                       21C      10111011    24E        01000111                                       21D      01001111    24F        00010101                                       250      00001100    281        00001100                                       251      00111000    282        00000000                                       252      00001100    283        01000111                                       253      01000001    284        00111001                                       254      00000101    285        01000000                                       255      01000001    286        01000100                                       256      00100110    287        00001101                                       257      10010011    288        00001101                                       258      10100011    289        00011101                                       259      01000101    28A        01000000                                       25A      10000000    28B        00111001                                       25B      01001111    28C        10101111                                       25C      00111110    28D        00001100                                       25D      11111011    28E        00001101                                       25E      01111001    28F        00100001                                       25F      10011101    290        00001001                                       260      00000011    291        10100001                                       261      00000011    292        10101110                                       262      10011010    293        00100010                                       263      01000111    294        10101001                                       264      00000000    295        10000011                                       265      10000000    296        00001100                                       266      00001111    297        00101100                                       267      00001101    298        00111010                                       268      01000111    299        10101011                                       269      00111110    29A        01001000                                       26A      01000101    29B        10100010                                       26B      00001101    29C        01001110                                       26C      10101110    29D        01000000                                       26D      10101100    29E        10100111                                       26E      00100001    29F        00001100                                       26F      10101010    2A0        01000010                                       270      00101000    2A1        10001000                                       271      00000011    2A2        00100111                                       272      00101010    2A3        01000100                                       273      01001001    2A4        00111111                                       274      00111000    2A5        01001100                                       275      00001101    2A6        01000110                                       276      01001111    2A7        00000011                                       277      00100000    2A8        00001101                                       278      00000110    2A9        01001010                                       279      00111110    2AA        00101111                                       27A      00100000    2AB        00101101                                       27B      00111101    2AC        01001100                                       27C      01001011    2AD        01000000                                       27D      10111001    2AE        00000000                                       27E      10011001    2AF        00001101                                       27F      00011111    2B0        00111011                                       280      00000100    2B1        10011111                                       2B2      10101101    2E3        00110010                                       2B3      00111101    2E4        00001000                                       2B4      01001010    2E5        10100100                                       2B5      01000010    2E6        10110101                                       2B6      01000110    2E7        00010011                                       2B7      10001101    2E8        11001001                                       2B8      00001101    2E9        00001101                                       2B9      10111001    2EA        10111001                                       2BA      01000000    2EB        10000000                                       2BB      00111000    2EC        11001001                                       2BC      00001100    2ED        00100010                                       2BD      01001110    2EE        01001010                                       2BE      00111011    2EF        01001100                                       2BF      01000111    2F0        10011001                                       2C0      00000000    2F1        00001100                                       2C1      00111000    2F2        10000110                                       2C2      00000000    2F3        00001111                                       2C3      00011111    2F4        10100010                                       2C4      10000000    2F5        10010101                                       2C5      10100101    2F6        00001100                                       2C6      00110000    2F7        01001000                                       2C7      10011001    2F8        01001000                                       2C8      10011001    2F9        01000000                                       2C9      10101010    2FA        10111000                                       2CA      00010010    2FB        10111011                                       2CB      01001000    2FC        01001010                                       2CC      01001010    2FD        10011101                                       2CD      10011001    2FE        10110011                                       2CE      01000000    2FF        00111000                                       2CF      01000010    300        00011101                                       2D0      00000000    301        10101010                                       2D1      00111011    302        10001111                                       2D2      01001000    303        01001000                                       2D3      10011111    304        00111000                                       2D4      01100000    305        11100100                                       2D5      00010011    306        01000000                                       2D6      01001010    307        00001010                                       2D7      00010011    308        10000000                                       2D8      01010000    309        00101000                                       2D9      00111000    30A        11001111                                       2DA      00000011    30B        10101010                                       2DB      01011000    30C        10011110                                       2DC      01100000    30D        00100010                                       2DD      00001101    30E        00111010                                       2DE      00111010    30F        00001010                                       2DF      00111011    310        00101000                                       2E0      01001100    311        10101001                                       2E1      01001000    312        01000111                                       2E2      00000000    313        00001010                                       314      01001000    345        00110110                                       315      00000011    346        10001011                                       316      10101010    347        00000011                                       317      10100111    348        10001100                                       318      00111001    349        01000010                                       319      00111000    34A        10101101                                       31A      00001111    34B        10011001                                       31B      01011111    34C        00111010                                       31C      00101111    34D        00001000                                       31D      10111010    34E        10101010                                       31E      00001111    34F        01001000                                       31F      10100100    350        10011111                                       320      11000111    351        00000011                                       321      01100000    352        01000111                                       322      00000011    353        01000000                                       323      00100011    354        01000000                                       324      00000111    355        01100000                                       325      00011111    356        01010001                                       326      01001000    357        10111100                                       327      01000000    358        01001111                                       328      00011110    359        10100100                                       329      11100100    35A        00001100                                       32A      01001010    35B        01000000                                       32B      00010101    35C        10100111                                       32C      00111011    35D        00111101                                       32D      01001000    35E        01001111                                       32E      00001010    35F        10011100                                       32F      01001100    360        10011001                                       330      01001010    361        00001111                                       331      10101010    362        00000000                                       332      10100001    363        00101000                                       333      10011100    364        00001100                                       334      10011001    365        00010010                                       335      10101001    366        00110100                                       336      00101111    367        00111110                                       337      10101010    368        00101000                                       338      11100100    369        00111100                                       339      00001010    36A        00010000                                       33A      11000111    36B        00010111                                       33B      11000111    36C        01011110                                       33C      00001010    36D        10110000                                       33D      10101010    36E        10111100                                       33E      00100011    36F        00111000                                       33F      01001011    370        00101011                                       340      00000000    371        01001111                                       341      01001111    372        00110010                                       342      00000000    373        10000000                                       343      00111110    374        00000011                                       344      01000010    375        01001111                                       376      01010001    3A8        00110001                                       377      00100010    3A9        10010110                                       378      10101010    3AA        01101111                                       379      00111100    3AB        00100010                                       37A      10100011    3AC        10000000                                       37B      01000111    3AD        10000000                                       37C      00111101    3AE        01000010                                       37D      00110000    3AF        11101000                                       37E      00100010    3B0        00111111                                       37F      01000111    3B1        00111100                                       380      01000011    3B2        00100110                                       381      00111110    3B3        01100101                                       382      00001111    3B4        00110111                                       383      11101000    3B5        10010010                                       384      00111001    3B6        00111110                                       385      01001011    3B7        00111001                                       386      11101000    3B8        10100010                                       387      10000011    3B9        10100010                                       388      01001101    3BA        00100010                                       389      10111100    3BB        11101000                                       38A      01000100    3BC        10100010                                       38B      00110011    3BD        00010010                                       38C      10111101    3BE        00111001                                       38D      00110101    3BF        01001111                                       38E      00111010    3C0        00000000                                       38F      00111110    3C1        00111111                                       390      10010011    3C2        00000000                                       391      01001000    3C3        00001011                                       392      01101000    3C4        01001111                                       393      00100110    3C5        00001000                                       394      00011001    3C6        01100010                                       395      01000100    3C7        00001100                                       396      00011111    3C8        00111100                                       397      00111111    3C9        10010101                                       398      01001000    3CA        10000011                                       399      00111001    3CB        00000011                                       39A      01000111    3CC        01010101                                       39B      10110000    3CD        10101101                                       39C      00111000    3CE        00001000                                       39D      10001101    3CF        01010000                                       39E      01100100    3D0        01101000                                       39F      01001000    3D1        01001011                                       3A0      10010111    3D2        10111010                                       3A1      01101111    3D3        01000000                                       3A2      00111100    3D4        00001100                                       3A3      00011100    3D5        00011001                                       3A4      10100101    3D6        01100110                                       3A5      01100000    3D7        00111101                                       3A6      01001111    3D8        01101100                                       3A7      01100101    3D9        01101010                                       3DA      10001001    40D        00000000                                       3DB      00111100    40E        00000000                                       3DC      10111000    40F        00000000                                       3DD      00000011    410        00000000                                       3DE      11000100    411        00000000                                       3DF      10000110    412        00000000                                       3E0      00001101    413        00000000                                       3E1      01100110    414        00000000                                       3E2      10100101    415        00000000                                       3E3      00101011    416        00000000                                       3E4      01100000    417        00000000                                       3E5      00110001    418        00000000                                       3E6      00001101    419        00000000                                       3E7      00111011    41A        00000000                                       3E8      10000000    41B        00000000                                       3E9      01000001    41C        00000000                                       3EA      01001100    41D        00000000                                       3EB      10111110    41E        00000000                                       3EC      00111001    41F        00000000                                       3ED      00001100    420        00000000                                       3EE      00111111    421        00000000                                       3EF      01101010    422        00000000                                       3F0      01001010    423        00000000                                       3F1      01001001    424        00000000                                       3F2      01000001    425        00000000                                       3F3      00001111    426        00000000                                       3F4      01001010    427        00000000                                       3F5      00010000    428        00000000                                       3F6      11000100    429        00000000                                       3F7      10110100    42A        00000000                                       3F8      11000100    42B        00000000                                       3F9      00111101    42C        00000000                                       3FA      00111100    42D        00000000                                       3FB      00111001    42E        00000000                                       3FC      00001111    42F        00000000                                       3FD      00111100    430        00000000                                       3FE      11000100    431        00000000                                       3FF      00111110    432        00000000                                       400      00000000    433        00000000                                       401      00000000    434        00000000                                       402      00000000    435        00000000                                       403      00000000    436        00000000                                       404      00000000    437        00000000                                       405      00000000    438        00000000                                       406      00000000    439        00000000                                       407      00000000    43A        00000000                                       408      00000000    43B        00000000                                       409      00000000    43C        00000000                                       40A      00000000    43D        00000000                                       40B      00000000    43E        00000000                                       40C      00000000    43F        00000000                                       ______________________________________                                    

                                      TABLE II                                     __________________________________________________________________________     TABLE OF INSTRUCTION                                                           Instruction Code                                                                         Operation                                                            __________________________________________________________________________     11XXXXXX  CALL: Conditional on status; if status line 79 is a                            logic "0", then the CALL instruction is not performed.                         If status is "1", the machine goes into the CALL mode,                         as indicated by setting the CALL latch 200 to a logic                          "1". The program counter 36 is stored in the sub-                              routine register 43. The page address is stored in                             the buffer 47. The contents of the buffer register 47                          are used as the page address. The W field R2 to R7                             of the instruction word is loaded into the program                             counter 36 via devices 162. All instructions executed                          while in the CALL mode perform their normal functions,                         except for the CALL and branch instructions; execution                         of a CALL within a CALL mode is not valid; branches                            executed within a call mode must be intrapage.                       10XXXXXX  Branch (BRNC): Conditional on status; if status is a                           logic "0", then the branch instruction is not performed.                       If status is "1", then the W field is loaded into the pro-                     gram counter 36 and the contents of the buffer register                        47 become the new page address in the register 46,                             except when in the CALL mode. Branch (as well as                               CALL) can be unconditional because of the nature of                            status logic 66. Status is normally in logic "1" which                         is the proper condition for successfully performing a                          branch or CALL. If the instruction immediately pre-                            ceding the branch or CALL does not affect status, then                         the operation will be sucessful. Status is valid for                           only one instruction cycle. It is therefore invalid to                         perform multiple tests before a branch operation. Only                         that instruction immediately preceding the branch in-                          struction determines whether branching is successful.                          Status always returns to logic "1" after a branch in-                          struction.                                                           0100XXXX  Load Y Register with a Constant (TRCY): The C field                            of the instruction word, bits R4 through R7, is trans-                         ferred into the Y register 40. This is unconditional,                          and neither carry nor compare go to status logic 66.                 0101XXXX  Compare Y Register to a Constant (YNEC): The contents                          of the Y register 40 are compared to the C field of the                        instruction word. Compare information on line 67 is                            input to the status logic 66. Inequality will force status                     to a logical "1". This instruction is not conditional                          on status.                                                           0110XXXX  Constant Store, Increment Y Register (CMIY): The                               contents of the C field is stored directly into the                            memory location addressed by the X and Y registers                             73 and 40. The Y register 40 is then incremented by                            one. The instruction is not conditional on status, and                         carry and compare do not go to status.                               0111XXXX  Accumulator Less Than or Equal to Constant (ALEC):                             The Accumulator 52 is substracted from the C field of                          the instruction word, using 2's complement addition.                           Resulting carry information on line 67 is input to the                         status logic 66. If the accumulator is less than or                            equal to the constant, status will be set to a logic "1".                      The instruction is unconditional.                                    0001XXXX  Load P Register (LDP): The buffer register 47 is                               loaded with the contents of the C field in the instruction                     word. This is unconditional and neither carry nor                              compare go to status.                                                001100XX  Bit Set (SBIT): The contents of the memory location                            addressed by the X and Y registers 73 and 40 is                                selected. One of the four bits, as selected by the B                           field of the instruction word, is set to a logic "1".                001101XX  Bit Reset (RBIT): The contents of the RAM 25 memory                            location addressed by the X and Y registers 73 and 40                          is selected. One of the four bits, as selected by the B                        field of the instruction word via CKB logic 56, is reset                       to a logic "0".                                                      001110XX  Bit Test (TBIT): The contents of the memory location                           addressed by the X and Y registers 73 and 40 is selected.                      One of the four bits, as selected by the B field of the                        instruction word via CKB 56, is tested in the adder 50.                        A logical "1" in the selected bit will set status to a                         logical "1", via compare output to status on line 67.                001111XX  Load X Register (LDX): The X or RAM page address                               register 73 is loaded from the B field of the instruction                      word. This is unconditional, and neither carry nor                             compare go to status logic 66.                                       00100000  Store and Increment (STIN): The contents of the accumu-                        lator 52 are stored in the RAM memory location ad-                             dressed by the X and Y registers 73 and 40. After com-                         pletion of the store operation, the Y register 40 is in-                       cremented by one. Unconditional; status is not affected.             00100001  Transfer Memory to Accumulator (TRMA): The con-                                tents of the RAM memory location addressed by the X                            and Y registers 73 and 40 is unconditionally transferred                       into the accumulator 52. Memory data in the RAM is                             unaltered. Unconditional, and carry and compare do                             not go to status.                                                    00100010  Transfer Memory to Y Register (TRMY): The contents                             of the RAM memory location addressed by the X and                              Y registers 73 and 40 is unconditionally transferred                           into the Y register 40. Memory data in the RAM is                              unaltered.                                                           00100011  Transfer Y Register to Accumulator (TRYA): The Y                               register 40 is unconditionally transferred into the accu-                      mulator 52. Contents of the Y register 40 are unaltered.             00100100  Transfer Accumulator to Y Register (TRAY): The accu-                           mulator 52 is unconditionally transferred into the Y                           register 40. Accumulator contents are unaltered.                     00100101  Memory and Accumulator Add (AMAA): The contents                                of the accumulator 52 are added to the contents of the                         RAM memory location addressed by the X and Y regi-                             sters 73 and 40 with the resulting sum stored into the                         accumulator 52. Resulting carry information on line                            67 is input to the status logic 66. A sum that is greater                      than fifteen will set status to a logic "1". The contents                      of the memory location in the RAM 25 are unaltered.                  00100110  Compare Memory to Zero (MNEO): The RAM memory                                  contents addressed by the X and Y registers 73 and 40                          are compared to zero. Comparison information on line                           67 is input to the status logic. Inequality between mem-                       ory and zero will set status 66 to a logic "1".                      00100111  Memory and Accumulator Subtract (SMAA): The contents                           of the accumulator 52 are subtracted from the contents                         of the RAM memory location addressed by the X and Y                            registers 73 and 40 using 2's complement addition with                         the difference stored into the accumulator 52. Resulting                       carry information is input to status 66. Status will be                        set to logic "1" if the accumulator is less than or equal                      to the memory.                                                       00101000  Load Incremented Memory (INMA): The contents of the                            RAM memory location addressed by the X and Y registers                         73 and 40 is incremented by one and stored into                                the accumulator 52. The original contents of the RAM                           memory are unaltered. Resulting carry information                              is input via line 67 to the status logic 66. Status will                       be set to a logic "1" if the sum is greater than fifteen.            00101001  Accumulator Less Than or Equal to Memory (ALEM):                               The accumulator 52 is subtracted from the contents of                          the RAM memory location addressed by the X and Y                               registers 73 and 40 using 2's complement addition.                             Resulting carry information is input via line 67 to the                        status logic 66. Status equal to a logic "1" indicates                         that the accumulator is less than or equal to the mem-                         ory. Memory and accumulator contents are unaltered.                  00101010  Load Decremented Memory (DCMA): The contents of                                the RAM memory location addressed by the X and Y                               registers 73 and 40 are decremented by one and loaded                          into the accumulator 52. Memory contents are unal-                             tered. Resulting carry information is input to the                             status logic. If memory is greater than or equal to                            one, status will be set to logic "1".                                00101011  Increment Y Register (INY): The contents of the Y                              register 40 are incremented by one. Resulting carry                            information is input to the status logic 66. A sum                             greater than fifteen will set status to a logic "1".                 00101100  Decrement Y Register (DCY): The contents of the Y                              register 40 are decremented by one. Resulting carry                            information is input to the status logic 66. If Y is                           greater than or equal to 1, status will be set to a logic                      "1".                                                                 00101101  2's Complement of the Accumulator (CIA): The contents                          of the accumulator 52 are subtracted from zero using                           2's complement addition. The result is stored in the                           accumulator 52. Resulting carry information is input                           to the status logic 66. This operation is equivalent to                        complementing and incrementing the accumulator. If                             the accumulator contents are equal to zero, then status                        will be set to a logic "1".                                          00101110  Exchange Memory and Accumulator (EXMA): The                                    contents of the RAM memory location addressed by                               the X and Y registers 73 and 40 are exchanged with                             the accumulator 52. That is, the accumulator is                                stored into memory and memory is transferred into                              the accumulator.                                                     00101111  Clear Accumulator (CLA): The contents of the accumu-                           lator 52 are unconditionally set to zero.                            00000001  Add Eight to the Accumulator (A8AA): The constant                              eight (8), as determined by bits R7 through R4 of the                          instruction word, is added to the accumulator 52.                              Resulting carry information is input to the status logic                       66. A sum greater than fifteen will set status to a                            logic "1".                                                           00000010  Compare Y Register to the Accumulator (YNEA): The                              contents of the Y register 40 are compared to the con-                         tents of the accumulator 52. Comparison information                            is input to the status logic 66. Inequality between the                        Y register and the accumulator will set status to a                            logic "1". The logic state of status 66-1 is also copied                       into the status latch 66-2.                                          00000011  Store Accumulator (STA): The contents of the accumu-                           lator 52 are stored into the RAM memory location                               addressed by the X and Y registers 73 and 40. Accumu-                          lator 52 contents are unaffected.                                    00000100  Store and Clear Accumulator (STCLA): The contents of                           the accumulator 52 are stored into the RAM memory                              location addressed by the X and Y registers 73 and 40.                         The accumulator 52 is then reset to zero.                            00000101  Add Ten to the Accumulator (A10AA): The constant ten                           (10), as determined by bits R7 and R4 of the instruction                       word, is added to the accumulator 52.                                00000110  Add Six to the Accumulator (A6AA): The constant six                            (6), as determined by bits R7 and R4 of the instruction                        word, is added to the contents of the accumulator 52.                          Resulting carry information is input to the status logic                       66. A result greater than fifteen will set status to a                         logic "1".                                                           00000111  Decrement Accumulator (DCA): The contents of the                               accumulator 52 are decremented by one. Resulting                               carry information is input to the status logic 66. If                          accumulator is greater than or equal to one, status                            will be set to a logic "1".                                          00001110  Increment Accumulator (INA): The contents of the                               accumulator 52 are incremented by one.                               00000000  Complement X Register (COMX): The contents of the                              X or RAM page address register 73 are logically                                complemented.                                                        00001000  Load External Inputs (TRKA): Data present on the four                          external K input lines 75 is transferred into the accumu-                      lator 52.                                                            00001001  Test External Inputs (KNEO): Data on the external K                            input lines 75 is compared to zero. Comparison infor-                          mation is input to the status logic 66. Non-zero external                      data will set status to a logic "1".                                 00001010  Load Output Register (LD0): The contents of the accumu-                        lator 52 and the status latch 66-2 are transferred to the                      output register 62. The register 62 can be decoded in                          62 to supply data to as many as eight output lines 17 and                      is a primary register used in data output external to                          the chip. The contents of the Y register 40 are also                           decremented by one.                                                  00001011  Clear O Output Register (CLRO): The contents of the                            output register 62 are set to zero.                                  00001100  REset D [Y] Output (RSTR): If the contents of the Y                            register 40 are between 0 through 12 inclusive, then one                       of the D outputs will be reset to a logic "0". Selection                       of the D output is determined by the decoded contents of                       the Y register 40. For values greater than 12 in the Y                         register, the instruction is a no-op to the user.                    00001101  Set D [Y] Output (SETR): If the contents of the Y                              register 40 are betwen 0 through 12 inclusive, then one                        of the D outputs will be set to a logic "1". Selection of                      the D output is determined by the decoded contents of the                      Y register 40. For values greater than 12 in the Y                             register, the instruction is a no-op to the user.                    00001111  REturn (RETN): When executed in the CALL mode, the                             contents of the subroutine register 43 are transferred                         into the program counter 36. Simultaneously, the                               contents of th buffer register 47 are transferred into                         the ROM page address register 46. This operation will                          return the system to the proper point after a subroutine                       has been executed.                                                             When a return instruction is executed in the non-CALL                          mode, that is, when not executing a subroutine, it is                          a no-operation.                                                      __________________________________________________________________________

The machine state will alter the function of the ROM page buffer register 47. During the normal mode, the register 47 serves as a source for new page information when executing a successful CALL or a BRANCH. A successful BRANCH when executed in the normal mode will always copy the contents of the register 47 into the ROM page address register 46. Therefore, unless the contents of the register 47 are modified, any and all subsequent successful branches will be within the same page. BRANCHES of this type are called short branches. To branch to a different page, a long branch, the contents of the register 47 must be modified to the desired page address by performing a load ROM page register instruction. Execution of a successful BRANCH will not copy the new page address into the address register 46, and set the hardware to perform short branches within the new page.

The data transfer from the buffer register 47 to the address register 46 operates in the same manner when executing a successful CALL instruction. Long CALLS can be executed by performing a load ROM page register instruction prior to the execution of a CALL instruction. Omitting the Load P-register instruction would result in a short call.

After executing either a long or short call, the contents of the address register 46 which contained the pre-CALL page address is copied into the buffer register 47. Data transfer between the buffer register 47 and address register 46 is inhibited. Thus, the buffer register is used to store the desired page address upon returning from a subroutine. Because of the above feature, it is not possible to perform long branches while the machine is in the CALL mode. Likewise, a subroutine cannot contain more than sixty-four instructions (one full page). It is permitted, however, to modify the contents of the buffer register 47 when in the CALL mode by executing a load ROM page register instruction. This would permit the modification of the return page address when exiting a subroutine. Execution of a RETURN instruction copies the buffer register 47 contents into the address register 46, sets the hardware to perform short branches and returns the machine to the normal state.

An unsuccessful CALL or BRANCH will have no effect on either the machine state or the contents of the registers 46 and 47. Any data present in either of the two page address registers will remain unchanged. That is, if a short CALL or BRANCH was to be performed, the hardward will be set to perform short operations; if a long CALL or BRANCH was initiated, the hardware will be set to perform the long operation. In addition, executing a RETURN in the normal mode is a no-op.

Supplementing the instruction control of the ROM addressing logic, an external input in addition to a power-up circuit are included for circuit initialization. Circuit initialization will set the machine state to normal, set the page addresses to perform short branches, set the page address contents to the complement of data applied on the four K lines, and serially copy the data present on the Kl line into the program counter 36.

With no external inputs applied, the program counter 36 will be set to hex word OO (O) and the page address register 46 set to hex address F (15).

In regard to the instruction set, it will be noted that the adder 50 is capable of performing two separate, simultaneous functions and providing three outputs. The two, four-bit inputs 57 and 58 can be added and compared to each other providing a true binary sum output, a carry out of the MSD and a comparison indicating if the two binary numbers are equal in magnitude, that is, identical bit for bit. Compare and carry information can be used for setting up call or branching conditions. The sum provided can be stored in either or both the accumulator and RAM Y register or it may not be used at all.

The timing sequence of execution of instruction words may be understood by reference to FIGS. 24 and 25. In FIG. 24, a series of instruction cycles A, B, C., etc., are shown, with the system clocks 01, 02, 03, 04, 05. Consider that in cycle C, the contents of a digit in the memory or RAM 25 are to be transferred to the adder 50 and output to the accumulator 52. A schematic representation of the operation is seen in FIG. 25. The adder 50 input is valid during 01 of instruction cycle C, shown as 01C. The bit from the RAM 25 comes valid at 0401C at device 106, the output line 32 having been precharged on 02B by device 107. The command MTN on line 61-5 becomes valid at 02B when devices 149 come on in the control PLA 60. The lines 146 of the control PLA are valid after 01B ends. The instruction word on lines 33 is valid during 02B coming out of the RO, at output circuit 253. The output decode for the ROM at devices 245 and 246 also is effective at 02B, from devices 251, 248 and line 35-1. In the ROM, the lines 240 are precharged at 0₁ B, and contain valid data at 0₂ B. The Y lines 241 are valid at 0₂ B, the device 282 having been set up at 0₁ B. The line 281 in the Y decode 27 was precharged at 0₄ (0₁)B and became valid at the last part of 0₁ B. The ROM Y address from the program counter was gated in by device 271 at 0₁ B. Assuming that the MTN operation was a result of a branch, then the BRNCAL command on line 163 became valid after the end of 0₂ A, in gate 48-7. The RO branch command from lines 33 was gated in here on 0₂ A, and status was valid on line 79 during the last half of 0₂ A, after the precharge of gate 66-1 on 0₃ A ended. Meanwhile, the branch address comes into the program counter from lines 33 which contained the branch address valid at 0₂ A from output 253 of the ROM.

Thus, for an instruction as defined to be executed in cycle C, the data is valid at point 381 in FIG. 24, the RAM Y address for the data is valid at point 382, and the ROM instruction is valid on lines 33 at point 383. The ROM Y address for this word goes into the decoder 27 at point 384. This address became valid at point 385. Status became valid for a branch to this address at point 386, and the branch address was also valid at the ROM output at this point 386.

Other features of the above-described digital processor 15 are described in further detail and claimed in copending patent applications Ser. Nos. 525,236; 525,249; 525,250; 525,237; 525,244; 525,238; 525,247; and 525,246 all filed on Nov. 19, 1974 and assigned to the assignee of the present invention. It is also contemplated that the digit processor may provide multifunctions including the automatic dial feature according to the present invention. For example, the digit processor may provide calculator functions as well as the automatic dial functions utilizing a single keyboard. To this end, see, for example, U.S. Pat. No. 3,760,121 in which a single keyboard is utilized for the manual dialing of a telephone as well as the entry of data into a calculator.

The automatic dial as described herein provides a telephone with automatic dialing capability to dial a stored repertoire of telephone numbers and/or convert a rotary dial telephone to a pushbutton dialing telephone. The operation of the automatic dial is controlled by digit processor 15 and ultimately by the program stored in ROM 24 which controls digit processor 15 as described above. The operations of the embodiment of an automatic dial controlled by digit processor 15 containing the particular program of Table I will next be described in detail.

The automatic dialer telephone including the automatic dial of FIG. 2A containing the program of Table I will provide for storage of 31 number sequences of up to 15 digits, automatic or manual dialing, a programmable pause, and last number dialed repeat. Although change of mode can be controlled by keying in a selected code sequence through keyboard array 501', in this embodiment a separate programming record-normal mode function switch 545 is provided. The programming switch 545 is located, for example, under the handset cradle of a standard telephone or as a special key on the keyboard of the telephone illustrated in FIG. 1A. The programming switch 545 is maintained in the normal position during the normal dial mode and is in the record position when numbers are to be stored in the repertoire of frequency called numbers.

In this embodiment, virtual address locations 01 through 31 are used to store frequently dialed numbers. Each virtual address is set up to store up to 15 digits including pauses. A pause is used when automatic dialing of outside lines through a PBX or Centrex system is desired. Brief delays are required until progressive dial tones occur and it is necessary to store a pause in digit positions to provide such delays where required. The pause is stored instead of a numerical digit by keying in the number symbol (#) key. When the automatic dial is operating in the normal dial mode, dialing signals are transmitted over the lines and the dial will stop at the pause time. The user must then release the pause function by depressing the number symbol key when he hears the next level dial tone which causes the dial to continue the dialing procedure.

Digital processor 15 may be programmed to either be normally in the direct dial mode requiring entry of some coded signal from the keyboard array to cause the dial to go into the auto-dial mode or the digit processor may be programmed to normally be in the auto-dial mode requiring entry of a coded signal from the keyboard array to cause the dial to go into the direct dial mode. In the described embodiment, and particularly with respect to the ROM program of Table I, the automatic dial programmed accordingly is normally in the auto-dial mode. Thus, a telephone number stored in the repertoire of telephone numbers is dialed by sequentially depressing two number keys corresponding to the two number virtual address (01-31). Manual direct dialing in this embodiment is accomplished by simply preceding the desired number with depression of the asterisk (*) key. All other operations are the same as that of any standard pushutton (touch tone) dial telephone. Dial signals are transmitted immediately, even as the remaining digits of a telephone number are being keyed in. Thus, the user must wait for progressive dial tones before dialing successive numbers when used with PBX or Centrex systems. Except for this restriction, numbers may be manually keyed in as rapidly as desired; the automatic dial will transmit the corresponding pulse or tone dialing signals at a proper rate.

A last number repeat feature is provided by the depression of a specified code such as, in this embodiment, the virtual address OO. This causes the dial to automatically redial the last number sequence previously dialed.

The selected frequently called telephone numbers are stored in the repertoire of telephone numbers as follows. The user assigns a virtual address location, in this embodiment, 01 through 31, to each of the number sequences desired to be stored in the repertoire. The numbers are stored with the receiver on-hook; that is, with switch 544 in the closed position. The programming record-normal mode switch 545 is set to record. The two-digit virtual address is first keyed in followed by all successive numbers necessary to complete the call, including pauses as required, and returning the programming switch 545 to the normal position. This procedure is repeated for all telephone number sequences as they are desired to be included in the stored repertoire.

For example, assume that it is desired to store the telephone number 8441111 at virtual address 01. The programming switch 545 is set to the record position and the numerals 0 and 1 are sequentially keyed in by means of keys 502. Where the number is originating from a Centrex system, the numeral 9 is next keyed in for an outside line and then the number symbol (#) key for a pause followed by the numerals 8441111 in sequence. Programming switch 545 is then returned to the normal position and the number 9-8441111 will have been stored at virtual address 01 for future use in the automatic dialing mode.

If an error occurs at any point during the programming, programming switch 545 is returned to the normal mode and the procedure is repeated by again switching programming switch 545 to the record mode and rekeying the number sequence. Number sequences are changed by following the programming procedure, as the digit processor automatically causes the erasure of the old telephone number as it stores the new one.

To automatically dial a number, handset 504 is lifted, the dial tone heard, and the address location of the desired number keyed in with the programming switch in the normal mode. As an example, to automatically dial the number previously described as stored in virtual address 01, handset 504 is lifted from its cradle releasing switch hook 503 and the numerals 01 are sequentially keyed in to digit processor 15 by means of keyboard 501'. The automatic dial automatically generates a dialing signal corresponding to a 9 and, when the outside dial tone is heard, the number symbol (#) key is depressed and the automatic dial proceeds to complete the call by generating dialing signals corresponding to 8441111.

Assume that the number previously dialed, whether by manual keying of the number or by the keying in of a virtual address, was busy. When the user is ready to try again, the handset 504 is lifted from the cradle and the numerals 00 keyed in by means of keyboard 501'. The call progresses automatically (the same way it did in the automatic dialing mode) until the dialing is complete. This feature is particularly useful when the last number dialed was in the manual mode, eliminating the necessity of referring to the telephone book. As an example, the user may have dialed a telephone number 333-4444, found it to be busy, hung up, and at some later time desires to try again. In this case he need simply key in the numerals 00 and the call progresses automatically. Provision may be made in the program of Table I to allow the keying in of pauses by depressing the number symbol (#) key while dialing in the manual mode. This would not affect the manual dialing but would provide the stored pause when last number repeat is later utilized for automatically repeat dialing of the manually dialed number.

Depressing the switch hook 503 activates switch 538 to reset digit processor 15, ready for the next entry.

Various embodiments of the invention have now been described in detail. Since it is obvious that many changes and modifications can be made in the above-described details without departing from the nature and spirit of the invention, it is understood that the invention is not to be limited to said details except as set forth in the appended claims. 

What is claimed is:
 1. A keyboard dial system for a telephone set comprising:a. a digit processor having at least one set of input terminals and at least one set of latched output terminals and including:i. a programmed ROM containing a stored instruction set for controlling the operation of the dial system, ii. an arithmetic/logic unit for performing arithmetic and logic operations on data according to said stored instruction set, and iii. a memory means for temporarily storing data as such data is being processed by said digit processor; b. a keyboard array having a plurality of keys selectively coupled to at least one of said input terminals and to a plurality of said output terminals for entering coded information into said digit processor in dependence upon the state of said keys; and c. signal generator means coupled to at least one output terminal of said digit processor for generating dial signals corresponding to keyed in digits.
 2. The keyboard dial system according to claim 1 wherein said signal generator means is a pulse responsive relay means for generating dial pulse signals.
 3. A keyboard dial system for a telephone comprising:a. a keyboard array having 0-9 digit keys; b. an integrated circuit calculator system selctively coupled to said keyboard array for sensing coded information keyed in to said keyboard array, said calculator system including a first set of latched output means selectively coupled to said keyboard array for scanning said keyboard array and a second set of latched output means for generating coded output signals corresponding to digits keyed in to said keyboard array; and c. signal generator means coupled to said second set of latched output means for converting said coded output signals to dial signals; wherein d. said first and second sets of output means are independently latchable for generating said coded output signals to said signal generator means while said keyboard array is simultaneously being scanned and sensed.
 4. The keyboard dial system according to claim 3 wherein said signal generator means is a pluse responsive relay means for generating dial pulse signals.
 5. The keyboard dial system according to claim 3 wherein said coded output signals are generated at a rate consistent with the telephone exchange to which the telephone set is connected regardless of the speed at which the digits are keyed in to said keyboard array.
 6. A keyboard dial system for a telephone comprising:a. a keyboard array having 0-9 digit keys; b. an integrated circuit calculator system selectively coupled to said keyboard array for sensing coded information keyed in to said keyboard array, said calculator system including a first set of latched output means selectively coupled to said keyboard array for scanning said keyboard array and a second set of latched output means for generating coded output signals corresponding to digits keyed in to said keyboard array; c. signal generator means coupled to said second set of latched output means for converting said coded output signals to dial signals; wherein d. said first and second sets of outputs means are idependently latchable for generating said coded output signals to said signal generator means while said keyboard array is simultaneously being scanned and sensed; e. a random access memory means having data input means selectively coupled to the second set of output means of said digit processor; f. data output means coupled to an input of said calculator system; and g. an address means selectively coupled to the first output means of said calculator system, said random access memory means for storing and retrieving a plurality of digit sequences corresponding to a repertoire of telephone numbers and said calculator system for generating addresses of said memory via said first set of latched output means. 